diff options
author | deva <deva> | 2010-01-14 14:11:27 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-14 14:11:27 +0000 |
commit | 0485bd935b235e1162332ca145e7fbb6e5aecb3b (patch) | |
tree | 96708969f530428de2a9e01fd35dd97d5aa46893 /server/src/entitylist.h | |
parent | 984d1dd9993aa5beffa4270b6421dea05ab04faa (diff) |
Made EntityList able to handle several files with same macroname and version number, without corrupting the internal data structure (switched from map to multimap).
Diffstat (limited to 'server/src/entitylist.h')
-rw-r--r-- | server/src/entitylist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/entitylist.h b/server/src/entitylist.h index b596c07..9185f67 100644 --- a/server/src/entitylist.h +++ b/server/src/entitylist.h @@ -30,6 +30,7 @@ #include <map> #include <string> + #include "versionstr.h" #include "mutex.h" @@ -40,7 +41,7 @@ /** * The Items contained in the EntityList. */ -typedef std::map<VersionStr, std::string> EntityListItem; +typedef std::multimap<VersionStr, std::string> EntityListItem; /** * The EntityList class is intended for entity file caching, so that all entitys |