Skip to content

Commit a24221c

Browse files
authored
Fix MSVC compiler warning C4275 (#361)
The CFloatingDockContainer is exported, but inherits from a base class that is not exported. This triggers a compiler warning under MSVC toolchain. This patch fixes the issue by exporting the IFloatingWidget class.
1 parent 5f89dd0 commit a24221c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FloatingDockContainer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class CDockingStateReader;
6565
* This interface is used for opaque and non-opaque undocking. If opaque
6666
* undocking is used, the a real CFloatingDockContainer widget will be created
6767
*/
68-
class IFloatingWidget
68+
class ADS_EXPORT IFloatingWidget
6969
{
7070
public:
7171
virtual ~IFloatingWidget() = default;

0 commit comments

Comments
 (0)