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/palettedb.cpp | |
parent | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (diff) | |
download | manaplus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.gz manaplus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.bz2 manaplus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.tar.xz manaplus-8fb2c062cd1c03f032b99f4a7e7663c0653ba837.zip |
Add missing const in resources directory.
Diffstat (limited to 'src/resources/db/palettedb.cpp')
-rw-r--r-- | src/resources/db/palettedb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/palettedb.cpp b/src/resources/db/palettedb.cpp index a3c1fe4a4..cc27fa292 100644 --- a/src/resources/db/palettedb.cpp +++ b/src/resources/db/palettedb.cpp @@ -115,7 +115,8 @@ void PaletteDB::unload() const DyeColor *PaletteDB::getColor(const std::string &name) { - std::map<std::string, DyeColor>::const_iterator it = mColors.find(name); + const std::map<std::string, DyeColor>::const_iterator it = + mColors.find(name); if (it != mColors.end()) return &(*it).second; else |