diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:20:20 +0300 |
commit | 8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (patch) | |
tree | 0bb3cd9a01f0158822ae58a0d56b8b1808cb9bbc /src/resources/db/badgesdb.cpp | |
parent | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (diff) | |
download | manaverse-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.gz manaverse-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.bz2 manaverse-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.xz manaverse-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.zip |
Add missing const in resources directory.
Diffstat (limited to 'src/resources/db/badgesdb.cpp')
-rw-r--r-- | src/resources/db/badgesdb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/db/badgesdb.cpp b/src/resources/db/badgesdb.cpp index 1aa6167e2..059a22112 100644 --- a/src/resources/db/badgesdb.cpp +++ b/src/resources/db/badgesdb.cpp @@ -82,7 +82,7 @@ void BadgesDB::unload() const std::string BadgesDB::getPartyBadge(const std::string &name) { - BadgesInfosIter it = mParties.find(name); + const BadgesInfosIter it = mParties.find(name); if (it == mParties.end()) return std::string(); return (*it).second; @@ -90,7 +90,7 @@ const std::string BadgesDB::getPartyBadge(const std::string &name) const std::string BadgesDB::getNameBadge(const std::string &name) { - BadgesInfosIter it = mNames.find(name); + const BadgesInfosIter it = mNames.find(name); if (it == mNames.end()) return std::string(); return (*it).second; @@ -98,7 +98,7 @@ const std::string BadgesDB::getNameBadge(const std::string &name) const std::string BadgesDB::getGuildBadge(const std::string &name) { - BadgesInfosIter it = mGuilds.find(name); + const BadgesInfosIter it = mGuilds.find(name); if (it == mGuilds.end()) return std::string(); return (*it).second; |