Ivan Savenko 2 lat temu
rodzic
commit
f30355839f
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 2 0
      client/render/IRenderHandler.h
  2. 1 1
      lib/filesystem/ResourcePath.h

+ 2 - 0
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<IImage> loadImage(const ImagePath & path) = 0;
 	virtual std::shared_ptr<IImage> loadImage(const ImagePath & path, EImageBlitMode mode) = 0;

+ 1 - 1
lib/filesystem/ResourcePath.h

@@ -122,7 +122,7 @@ protected:
 };
 
 template<EResType Type>
-class DLL_LINKAGE ResourcePathTempl : public ResourcePath
+class ResourcePathTempl : public ResourcePath
 {
 	template <EResType>
 	friend class ResourcePathTempl;