From 40562798d6670775768224f77514ed000ff78c38 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 13 Mar 2010 21:55:49 +0000 Subject: Fix our DECLARE_SINGLETON macro to conform to the C++ specs. We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254 --- graphics/cursorman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/cursorman.cpp') diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp index fe90545280..35e771b2f4 100644 --- a/graphics/cursorman.cpp +++ b/graphics/cursorman.cpp @@ -27,7 +27,7 @@ #include "common/system.h" #include "common/stack.h" -DECLARE_SINGLETON(Graphics::CursorManager); +DECLARE_SINGLETON(Graphics::CursorManager) namespace Graphics { -- cgit v1.2.3