diff options
author | Johannes Schickel | 2009-12-09 17:09:18 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-12-09 17:09:18 +0000 |
commit | 414e6ffef30e8b86f3054bc89c092b96d3f8757d (patch) | |
tree | a171e60cf9946f2e8a51456e3327ef5d08a350f4 /graphics | |
parent | 0d43cc61d26e9cd68611c1c45cbf220b50e3b3f3 (diff) | |
download | scummvm-rg350-414e6ffef30e8b86f3054bc89c092b96d3f8757d.tar.gz scummvm-rg350-414e6ffef30e8b86f3054bc89c092b96d3f8757d.tar.bz2 scummvm-rg350-414e6ffef30e8b86f3054bc89c092b96d3f8757d.zip |
Some more slight cleanup.
svn-id: r46314
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cursorman.cpp | 5 | ||||
-rw-r--r-- | graphics/cursorman.h | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp index 98b0de8a1d..fc9f985fae 100644 --- a/graphics/cursorman.cpp +++ b/graphics/cursorman.cpp @@ -31,11 +31,6 @@ DECLARE_SINGLETON(Graphics::CursorManager); namespace Graphics { -CursorManager::CursorManager() { - _cursorStack.clear(); - _cursorPaletteStack.clear(); -} - bool CursorManager::isVisible() { if (_cursorStack.empty()) return false; diff --git a/graphics/cursorman.h b/graphics/cursorman.h index b6afa10fa7..9eaca57a09 100644 --- a/graphics/cursorman.h +++ b/graphics/cursorman.h @@ -164,7 +164,10 @@ public: private: friend class Common::Singleton<SingletonBaseType>; - CursorManager(); + // Even though this is basically the default constructor we implement it + // ourselves, so it is private and thus there is no way to create this class + // except from the Singleton code. + CursorManager() {} struct Cursor { byte *_data; |