diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-22 13:34:33 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-06-22 13:34:33 +0200 |
commit | 5043a2f83598baa3afba53201f690e6deac3eafd (patch) | |
tree | 6b98147395332e81245238b7d37344259e840d11 /src/coremods/core_info/cmd_commands.cpp | |
parent | 0f3db84269dc029aa00d706a9821ab00b7ed0c85 (diff) |
Change all occurrences of plain sort() to std::sort()
Diffstat (limited to 'src/coremods/core_info/cmd_commands.cpp')
-rw-r--r-- | src/coremods/core_info/cmd_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_commands.cpp b/src/coremods/core_info/cmd_commands.cpp index 3a892c5c4..3ff6728d8 100644 --- a/src/coremods/core_info/cmd_commands.cpp +++ b/src/coremods/core_info/cmd_commands.cpp @@ -45,7 +45,7 @@ CmdResult CommandCommands::Handle (const std::vector<std::string>&, User *user) RPL_COMMANDS, user->nick.c_str(), i->second->name.c_str(), src->ModuleSourceFile.c_str(), i->second->min_params, i->second->Penalty)); } - sort(list.begin(), list.end()); + std::sort(list.begin(), list.end()); for(unsigned int i=0; i < list.size(); i++) user->Write(list[i]); user->WriteNumeric(RPL_COMMANDSEND, ":End of COMMANDS list"); |