summaryrefslogtreecommitdiff
path: root/include/command_parse.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-13 15:42:38 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-13 15:42:38 +0200
commit97faccd6c5edd79590c1390e642bd3c34e519e0a (patch)
tree3d4ffd21120191cd77b4d28237aca4cf48900c7e /include/command_parse.h
parent15d0256e94f382b823dbb457218e1e3d2a462e16 (diff)
Remove global Commandtable typedef
Diffstat (limited to 'include/command_parse.h')
-rw-r--r--include/command_parse.h4
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.