File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ typedef std::function<std::string()> TDeusConsoleFuncToString;
7575typedef std::function<void *()> TDeusConsoleFuncRead;
7676typedef std::function<void (void *)> TDeusConsoleFuncVoid;
7777typedef std::function<void (char *)> TDeusConsoleFuncWriteChar;
78- typedef std::unordered_map<const char *, const char * > DeusConsoleHelpTable;
78+ typedef std::unordered_map<std::string, std::string > DeusConsoleHelpTable;
7979
8080// Wrapper for console variables and their flags/methods
8181struct DeusConsoleVariable {
@@ -196,7 +196,7 @@ class IDeusConsoleManager {
196196 }
197197
198198 // Returns a reference to the help table itself, useful for iterating over potential cmds
199- std::unordered_map<std::string, std::string> & getHelpTable () {
199+ DeusConsoleHelpTable & getHelpTable () {
200200 return this ->helpTable ;
201201 }
202202
You can’t perform that action at this time.
0 commit comments