From 8ff17142c5f47dacaa6ae247b92e6d6b5a16d8ac Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 22 May 2007 14:17:44 +0000 Subject: Simpilified Singleton implementation and usage. svn-id: r26922 --- graphics/imageman.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'graphics/imageman.cpp') diff --git a/graphics/imageman.cpp b/graphics/imageman.cpp index d4fc9da72d..98c5310ffb 100644 --- a/graphics/imageman.cpp +++ b/graphics/imageman.cpp @@ -23,14 +23,13 @@ #include "graphics/imageman.h" #include "graphics/surface.h" -DECLARE_SINGLETON(Graphics::ImageManager); - namespace Graphics { ImageManager::ImageManager() : _surfaces() #ifdef USE_ZLIB , _archives() #endif { + debug("foo"); } ImageManager::~ImageManager() { -- cgit v1.2.3 From 91be2f19cc1b8be80154651ee27339d71db3dbc6 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 22 May 2007 14:18:46 +0000 Subject: oops svn-id: r26923 --- graphics/imageman.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'graphics/imageman.cpp') diff --git a/graphics/imageman.cpp b/graphics/imageman.cpp index 98c5310ffb..1145dd262f 100644 --- a/graphics/imageman.cpp +++ b/graphics/imageman.cpp @@ -29,7 +29,6 @@ ImageManager::ImageManager() : _surfaces() , _archives() #endif { - debug("foo"); } ImageManager::~ImageManager() { -- cgit v1.2.3