diff options
Diffstat (limited to 'plugingui/imagecache.h')
-rw-r--r-- | plugingui/imagecache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/imagecache.h b/plugingui/imagecache.h index 9ca28fb..d31a844 100644 --- a/plugingui/imagecache.h +++ b/plugingui/imagecache.h @@ -41,14 +41,14 @@ class ScopedImageBorrower public: ScopedImageBorrower(ImageCache& imageCache, const std::string& filename); ScopedImageBorrower(ScopedImageBorrower&& other); - ~ScopedImageBorrower(); + virtual ~ScopedImageBorrower(); ScopedImageBorrower& operator=(ScopedImageBorrower&& other); Image& operator*(); Image& operator()(); -private: +protected: ImageCache& imageCache; std::string filename; Image& image; |