diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-13 15:42:38 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-13 15:42:38 +0200 |
commit | 97faccd6c5edd79590c1390e642bd3c34e519e0a (patch) | |
tree | 3d4ffd21120191cd77b4d28237aca4cf48900c7e /include/command_parse.h | |
parent | 15d0256e94f382b823dbb457218e1e3d2a462e16 (diff) |
Remove global Commandtable typedef
Diffstat (limited to 'include/command_parse.h')
-rw-r--r-- | include/command_parse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/command_parse.h b/include/command_parse.h index 2abbdb607..0f39d3586 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -30,7 +30,7 @@ class CoreExport CommandParser { public: - typedef Commandtable CommandMap; + typedef TR1NS::unordered_map<std::string, Command*> CommandMap; private: /** Process a command from a user. @@ -41,7 +41,7 @@ class CoreExport CommandParser /** Command list, a hash_map of command names to Command* */ - Commandtable cmdlist; + CommandMap cmdlist; public: /** Default constructor. |