aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-03-13 21:55:49 +0000
committerJohannes Schickel2010-03-13 21:55:49 +0000
commit40562798d6670775768224f77514ed000ff78c38 (patch)
tree4798a9207e4467c273339e8058f749304115f4db /common/config-manager.cpp
parent958fa8d5cbe1ccffdaf6812f39238fccb67307a4 (diff)
downloadscummvm-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 'common/config-manager.cpp')
-rw-r--r--common/config-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp
index 5934f32012..9d8281a748 100644
--- a/common/config-manager.cpp
+++ b/common/config-manager.cpp
@@ -29,7 +29,7 @@
#include "common/util.h"
#include "common/system.h"
-DECLARE_SINGLETON(Common::ConfigManager);
+DECLARE_SINGLETON(Common::ConfigManager)
static bool isValidDomainName(const Common::String &domName) {
const char *p = domName.c_str();