From f30355839f7efea1dd14e8ed9520f1336f0896ef Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Mon, 4 Sep 2023 22:44:01 +0300 Subject: [PATCH] Fix build --- client/render/IRenderHandler.h | 2 ++ lib/filesystem/ResourcePath.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/render/IRenderHandler.h b/client/render/IRenderHandler.h index 5d0fed385..880295170 100644 --- a/client/render/IRenderHandler.h +++ b/client/render/IRenderHandler.h @@ -20,6 +20,8 @@ enum class EImageBlitMode; class IRenderHandler : public boost::noncopyable { public: + virtual ~IRenderHandler() = default; + /// Loads image using given path virtual std::shared_ptr loadImage(const ImagePath & path) = 0; virtual std::shared_ptr loadImage(const ImagePath & path, EImageBlitMode mode) = 0; diff --git a/lib/filesystem/ResourcePath.h b/lib/filesystem/ResourcePath.h index 0057d2338..baad69bbe 100644 --- a/lib/filesystem/ResourcePath.h +++ b/lib/filesystem/ResourcePath.h @@ -122,7 +122,7 @@ protected: }; template -class DLL_LINKAGE ResourcePathTempl : public ResourcePath +class ResourcePathTempl : public ResourcePath { template friend class ResourcePathTempl;