From 8fb2c062cd1c03f032b99f4a7e7663c0653ba837 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:20:20 +0300 Subject: Add missing const in resources directory. --- src/resources/db/palettedb.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/db/palettedb.cpp') 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::const_iterator it = mColors.find(name); + const std::map::const_iterator it = + mColors.find(name); if (it != mColors.end()) return &(*it).second; else -- cgit v1.2.3-70-g09d2