summaryrefslogtreecommitdiff
path: root/src/resources/colordb.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-19 23:07:35 +0000
committerIra Rice <irarice@gmail.com>2008-10-19 23:07:35 +0000
commite57f4ec64f53091dd254c2ee2db9592d30a5af0b (patch)
treeef002e7fb4b0dfb5b06dd4e4c2d95b9f3b06f920 /src/resources/colordb.cpp
parentbe1af40e371845bcad1337cc59e5f5ac0f991f02 (diff)
downloadmana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.tar.gz
mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.tar.bz2
mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.tar.xz
mana-client-e57f4ec64f53091dd254c2ee2db9592d30a5af0b.zip
Fixed a small error that I didn't notice before with de-hardcoding the
colors. Thanks goes to paks for noticing this.
Diffstat (limited to 'src/resources/colordb.cpp')
-rw-r--r--src/resources/colordb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/colordb.cpp b/src/resources/colordb.cpp
index 837561ed..f738b471 100644
--- a/src/resources/colordb.cpp
+++ b/src/resources/colordb.cpp
@@ -113,7 +113,7 @@ std::string& ColorDB::get(int id)
}
}
-const int& ColorDB::size()
+int ColorDB::size()
{
return mColors.size();
}