summaryrefslogtreecommitdiff
path: root/src/resources/colordb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-02 21:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 21:25:21 +0300
commit0534847df83047f1ce2605187d45a762ffeae11e (patch)
tree92365ee5ec086b3c65f024096df9d63bd05b31d4 /src/resources/colordb.h
parent4f390339f8107c376a10151a2cae889c0ec01089 (diff)
downloadplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.gz
plus-0534847df83047f1ce2605187d45a762ffeae11e.tar.bz2
plus-0534847df83047f1ce2605187d45a762ffeae11e.tar.xz
plus-0534847df83047f1ce2605187d45a762ffeae11e.zip
Add const to more classes.
Diffstat (limited to 'src/resources/colordb.h')
-rw-r--r--src/resources/colordb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/colordb.h b/src/resources/colordb.h
index 27ca6173a..fd479d00a 100644
--- a/src/resources/colordb.h
+++ b/src/resources/colordb.h
@@ -39,7 +39,8 @@ namespace ColorDB
color("")
{ }
- ItemColor(int id0, std::string name0, std::string color0)
+ ItemColor(const int id0, const std::string &name0,
+ const std::string &color0)
{
this->id = id0;
this->name = name0;
@@ -68,7 +69,7 @@ namespace ColorDB
*/
void unload();
- std::string &getHairColorName(int id);
+ std::string &getHairColorName(const int id);
int getHairSize();