X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommand_parse.h;h=0f39d35860f3ec7415372fadb7eb5bfd2e625882;hb=cd67a0a6f9380d4a54bc92370f2925f2d2a684dc;hp=bdbc12757ecfea56c1f9d3147879058b954538e6;hpb=085a8a34cb0b1bd97bba76fff15820fb57aa50e4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/command_parse.h b/include/command_parse.h index bdbc12757..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 CommandMap; private: /** Process a command from a user. @@ -39,11 +39,11 @@ class CoreExport CommandParser */ void ProcessCommand(LocalUser* user, std::string& cmd); - public: /** Command list, a hash_map of command names to Command* */ - Commandtable cmdlist; + CommandMap cmdlist; + public: /** Default constructor. */ CommandParser();