From a24221c00209c0742637dfcfa395903810d90097 Mon Sep 17 00:00:00 2001 From: Francis Hart Date: Fri, 8 Oct 2021 20:40:30 +0300 Subject: [PATCH] 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. --- src/FloatingDockContainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FloatingDockContainer.h b/src/FloatingDockContainer.h index 39025b5..c08155c 100644 --- a/src/FloatingDockContainer.h +++ b/src/FloatingDockContainer.h @@ -65,7 +65,7 @@ class CDockingStateReader; * This interface is used for opaque and non-opaque undocking. If opaque * undocking is used, the a real CFloatingDockContainer widget will be created */ -class IFloatingWidget +class ADS_EXPORT IFloatingWidget { public: virtual ~IFloatingWidget() = default;