summaryrefslogtreecommitdiff
path: root/src/resources/colordb.h
diff options
context:
space:
mode:
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();