diff options
Diffstat (limited to 'src/resources/db/commandsdb.cpp')
-rw-r--r-- | src/resources/db/commandsdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/commandsdb.cpp b/src/resources/db/commandsdb.cpp index 335627c53..2c9d44705 100644 --- a/src/resources/db/commandsdb.cpp +++ b/src/resources/db/commandsdb.cpp @@ -85,7 +85,7 @@ void CommandsDB::loadXmlFile(const std::string &fileName) if (id == -1) continue; - CommandsMapIter it = mCommands.find(id); + const CommandsMapIter it = mCommands.find(id); if (it != mCommands.end()) { logger->log("Commands database: duplicate id: %d", id); |