From 8b1c432bac1dc6efde4a86f7f3d4a51f2ae3e713 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 1 Apr 2006 22:31:45 +0000 Subject: Switch ConfigManager to use HashMap (seems to work fine over here, but an older version killed my scummvm.ini, so use at your own risk (not that you really have a choice. I just like being evil *g*)) svn-id: r21539 --- common/config-file.h | 4 ++-- common/config-manager.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'common') diff --git a/common/config-file.h b/common/config-file.h index 57501b5c73..59f2b5c2f9 100644 --- a/common/config-file.h +++ b/common/config-file.h @@ -51,8 +51,8 @@ namespace Common { */ class ConfigFile { public: - typedef Map StringSet; - //typedef HashMap StringSet; + //typedef Map StringSet; + typedef HashMap StringSet; struct KeyValue { String key; diff --git a/common/config-manager.h b/common/config-manager.h index 452b95d3c6..eb06f7493d 100644 --- a/common/config-manager.h +++ b/common/config-manager.h @@ -45,8 +45,8 @@ struct IgnoreCase_Hash { uint operator()(const String& x) const { return hashit_lower(x.c_str()); } }; -typedef Map StringMap; -//typedef HashMap StringMap; +//typedef Map StringMap; +typedef HashMap StringMap; /** * The (singleton) configuration manager, used to query & set configuration @@ -76,8 +76,8 @@ public: bool hasKVComment(const String &key) const; }; - typedef Map DomainMap; - //typedef HashMap DomainMap; + //typedef Map DomainMap; + typedef HashMap DomainMap; #if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__)) /** The name of the application domain (normally 'scummvm'). */ -- cgit v1.2.3