1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix build

This commit is contained in:
Ivan Savenko 2023-09-04 22:44:01 +03:00
parent 1d0e696db6
commit f30355839f
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@ enum class EImageBlitMode;
class IRenderHandler : public boost::noncopyable class IRenderHandler : public boost::noncopyable
{ {
public: public:
virtual ~IRenderHandler() = default;
/// Loads image using given path /// Loads image using given path
virtual std::shared_ptr<IImage> loadImage(const ImagePath & path) = 0; virtual std::shared_ptr<IImage> loadImage(const ImagePath & path) = 0;
virtual std::shared_ptr<IImage> loadImage(const ImagePath & path, EImageBlitMode mode) = 0; virtual std::shared_ptr<IImage> loadImage(const ImagePath & path, EImageBlitMode mode) = 0;

View File

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