diff options
author | Johannes Schickel | 2010-03-13 21:55:49 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-03-13 21:55:49 +0000 |
commit | 40562798d6670775768224f77514ed000ff78c38 (patch) | |
tree | 4798a9207e4467c273339e8058f749304115f4db /gui | |
parent | 958fa8d5cbe1ccffdaf6812f39238fccb67307a4 (diff) | |
download | scummvm-rg350-40562798d6670775768224f77514ed000ff78c38.tar.gz scummvm-rg350-40562798d6670775768224f77514ed000ff78c38.tar.bz2 scummvm-rg350-40562798d6670775768224f77514ed000ff78c38.zip |
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
Diffstat (limited to 'gui')
-rw-r--r-- | gui/GuiManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/GuiManager.cpp b/gui/GuiManager.cpp index 3d02816196..99fb3be4dc 100644 --- a/gui/GuiManager.cpp +++ b/gui/GuiManager.cpp @@ -37,7 +37,7 @@ #include "graphics/cursorman.h" -DECLARE_SINGLETON(GUI::GuiManager); +DECLARE_SINGLETON(GUI::GuiManager) namespace GUI { |