aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-06 10:01:34 +0200
committerChristoph Mallon2011-08-07 15:19:07 +0200
commitc6d5d748353c848e134517214217912447d7a567 (patch)
treed44d27b547b369d6fb8f3905f989c3039e5729b9 /common
parent97a6ee2e64da515c7d009d059768b34508ada38c (diff)
downloadscummvm-rg350-c6d5d748353c848e134517214217912447d7a567.tar.gz
scummvm-rg350-c6d5d748353c848e134517214217912447d7a567.tar.bz2
scummvm-rg350-c6d5d748353c848e134517214217912447d7a567.zip
COMMON: Make constants actually const.
Diffstat (limited to 'common')
-rw-r--r--common/config-manager.cpp6
-rw-r--r--common/config-manager.h6
2 files changed, 6 insertions, 6 deletions
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<String, Domain, IgnoreCase_Hash, IgnoreCase_EqualTo> 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();