diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 18:35:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 18:35:21 +0300 |
commit | 71f88c02f79a1164430eec1de3e15edec011a15e (patch) | |
tree | 6a0772ee943a41314b5abd92fed0ce269faced27 /src/resources/imagehelper.h | |
parent | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff) | |
download | manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2 manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.zip |
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r-- | src/resources/imagehelper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h index b09d21d4a..b22a609a6 100644 --- a/src/resources/imagehelper.h +++ b/src/resources/imagehelper.h @@ -43,9 +43,6 @@ class ImageHelper friend class Image; public: - ImageHelper() - { } - A_DELETE_COPY(ImageHelper) virtual ~ImageHelper() @@ -102,6 +99,9 @@ class ImageHelper { return mUseOpenGL; } protected: + ImageHelper() + { } + static bool mEnableAlpha; static RenderType mUseOpenGL; }; |