diff options
Diffstat (limited to 'src/Command.cpp')
-rw-r--r-- | src/Command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command.cpp b/src/Command.cpp index a074930..a28cd42 100644 --- a/src/Command.cpp +++ b/src/Command.cpp @@ -5,7 +5,7 @@ using namespace std; namespace dchat { - unordered_map<string, CommandHandlerFunc> commandHandlerFuncs; + static unordered_map<string, CommandHandlerFunc> commandHandlerFuncs; bool Command::add(const string &cmd, CommandHandlerFunc handlerFunc) { |