From c6d5d748353c848e134517214217912447d7a567 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 6 Aug 2011 10:01:34 +0200 Subject: COMMON: Make constants actually const. --- common/config-manager.cpp | 6 +++--- common/config-manager.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'common') diff --git a/common/config-manager.cpp b/common/config-manager.cpp index 874aee136f..c62dee8bea 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -38,11 +38,11 @@ namespace Common { DECLARE_SINGLETON(ConfigManager); -const char *ConfigManager::kApplicationDomain = "scummvm"; -const char *ConfigManager::kTransientDomain = "__TRANSIENT"; +char const *const ConfigManager::kApplicationDomain = "scummvm"; +char const *const ConfigManager::kTransientDomain = "__TRANSIENT"; #ifdef ENABLE_KEYMAPPER -const char *ConfigManager::kKeymapperDomain = "keymapper"; +char const *const ConfigManager::kKeymapperDomain = "keymapper"; #endif #pragma mark - diff --git a/common/config-manager.h b/common/config-manager.h index e04041d07c..02d4ec3438 100644 --- a/common/config-manager.h +++ b/common/config-manager.h @@ -64,14 +64,14 @@ public: typedef HashMap DomainMap; /** The name of the application domain (normally 'scummvm'). */ - static const char *kApplicationDomain; + static char const *const kApplicationDomain; /** The transient (pseudo) domain. */ - static const char *kTransientDomain; + static char const *const kTransientDomain; #ifdef ENABLE_KEYMAPPER /** The name of keymapper domain used to store the key maps */ - static const char *kKeymapperDomain; + static char const *const kKeymapperDomain; #endif void loadDefaultConfigFile(); -- cgit v1.2.3