diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/colordb.cpp | 2 | ||||
-rw-r--r-- | src/resources/colordb.h | 2 |
2 files changed, 2 insertions, 2 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(); } diff --git a/src/resources/colordb.h b/src/resources/colordb.h index 43398af4..1f8b191c 100644 --- a/src/resources/colordb.h +++ b/src/resources/colordb.h @@ -42,7 +42,7 @@ namespace ColorDB std::string& get(int id); - const int& size(); + int size(); // Color DB typedef std::map<int, std::string> Colors; |