[Scummvm-cvs-logs] SF.net SVN: scummvm:[46314] scummvm/trunk/graphics
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Dec 9 18:09:18 CET 2009
Revision: 46314
http://scummvm.svn.sourceforge.net/scummvm/?rev=46314&view=rev
Author: lordhoto
Date: 2009-12-09 17:09:18 +0000 (Wed, 09 Dec 2009)
Log Message:
-----------
Some more slight cleanup.
Modified Paths:
--------------
scummvm/trunk/graphics/cursorman.cpp
scummvm/trunk/graphics/cursorman.h
Modified: scummvm/trunk/graphics/cursorman.cpp
===================================================================
--- scummvm/trunk/graphics/cursorman.cpp 2009-12-09 17:05:23 UTC (rev 46313)
+++ scummvm/trunk/graphics/cursorman.cpp 2009-12-09 17:09:18 UTC (rev 46314)
@@ -31,11 +31,6 @@
namespace Graphics {
-CursorManager::CursorManager() {
- _cursorStack.clear();
- _cursorPaletteStack.clear();
-}
-
bool CursorManager::isVisible() {
if (_cursorStack.empty())
return false;
Modified: scummvm/trunk/graphics/cursorman.h
===================================================================
--- scummvm/trunk/graphics/cursorman.h 2009-12-09 17:05:23 UTC (rev 46313)
+++ scummvm/trunk/graphics/cursorman.h 2009-12-09 17:09:18 UTC (rev 46314)
@@ -164,7 +164,10 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list