summaryrefslogtreecommitdiff
path: root/src/resources/colordb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-15 02:15:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-15 02:15:39 +0300
commit67ca22e33cc7227048121895bec75e546a3777ef (patch)
tree08d897013784943f435265d99638dd96e7d9d7b5 /src/resources/colordb.h
parent60019d36cc08faa4d49f2ddb048f6a71cf87a683 (diff)
downloadplus-67ca22e33cc7227048121895bec75e546a3777ef.tar.gz
plus-67ca22e33cc7227048121895bec75e546a3777ef.tar.bz2
plus-67ca22e33cc7227048121895bec75e546a3777ef.tar.xz
plus-67ca22e33cc7227048121895bec75e546a3777ef.zip
improve colordb class.
Diffstat (limited to 'src/resources/colordb.h')
-rw-r--r--src/resources/colordb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/colordb.h b/src/resources/colordb.h
index 75fff94a3..d39abbe9d 100644
--- a/src/resources/colordb.h
+++ b/src/resources/colordb.h
@@ -75,7 +75,8 @@ namespace ColorDB
int getHairSize() A_WARN_UNUSED;
- std::map <int, ItemColor> *getColorsList(std::string name) A_WARN_UNUSED;
+ const std::map <int, ItemColor> *getColorsList(const std::string
+ &name) A_WARN_UNUSED;
// Color DB
typedef std::map<int, ItemColor> Colors;