diff options
| author | 2022-09-29 12:01:29 +0100 | |
|---|---|---|
| committer | 2022-09-29 12:36:01 +0100 | |
| commit | 89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch) | |
| tree | 4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /include/command_parse.h | |
| parent | Use NOMINMAX on Windows and undefine error in the log header. (diff) | |
Fix various cases of the &* being next to the name instead of type.
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 a73573a11..e5c9c10a7 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -65,7 +65,7 @@ public: * @param commandname The command required. Always use uppercase for this parameter. * @return a pointer to the command handler, or NULL */ - Command* GetHandler(const std::string &commandname); + Command* GetHandler(const std::string& commandname); /** LoopCall is used to call a command handler repeatedly based on the contents of a comma separated list. * There are two ways to call this method, either with one potential list or with two potential lists. @@ -123,7 +123,7 @@ public: * @param f The new Command to add to the list * @return True if the command was added */ - bool AddCommand(Command *f); + bool AddCommand(Command* f); /** Removes a command. */ |
