Remove StringMap class from map.h (at least for now)

svn-id: r17772
This commit is contained in:
Max Horn 2005-04-23 14:28:59 +00:00
parent 78b340adfb
commit 29d249c696
2 changed files with 3 additions and 6 deletions

View File

@ -277,10 +277,6 @@ protected:
}
};
class String;
typedef Map<String, String> StringMap;
} // End of namespace Common
#endif

View File

@ -753,7 +753,8 @@ DetectedGameList GAME_ProbeGame(const FSList &fslist) {
int detectGame(const FSList &fslist, bool mode) {
int game_count = ARRAYSIZE(gameDescriptions);
int game_n = -1;
Common::StringMap filesMD5;
typedef Common::Map<Common::String, Common::String> StringMap;
StringMap filesMD5;
typedef Common::Map<Common::String, bool> StringSet;
StringSet filesList;
@ -861,7 +862,7 @@ int detectGame(const FSList &fslist, bool mode) {
printf("MD5s of your ITE version are unknown. Please, report following data to\n");
printf("ScummVM team along with your ITE version:\n");
for (Common::StringMap::const_iterator file = filesMD5.begin(); file != filesMD5.end(); ++file)
for (StringMap::const_iterator file = filesMD5.begin(); file != filesMD5.end(); ++file)
printf("%s: %s\n", file->_key.c_str(), file->_value.c_str());
}