summaryrefslogtreecommitdiff
path: root/plugingui/imagecache.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-06-06 21:37:26 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-06-06 21:37:26 +0200
commitd5ed45c25651f04dc3972047d279c8eeb4ca9e51 (patch)
treec9a424cfca2af7922a981e5e89bf3d24725aadea /plugingui/imagecache.h
parent195a3d15e490465b64a19d2f09e8a2d8d81e2b2a (diff)
New TexturedBox class.
Diffstat (limited to 'plugingui/imagecache.h')
-rw-r--r--plugingui/imagecache.h4
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;