summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.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/itemdb.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/itemdb.h')
-rw-r--r--src/resources/itemdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h
index 6fa05ac29..1e6de3929 100644
--- a/src/resources/itemdb.h
+++ b/src/resources/itemdb.h
@@ -47,9 +47,9 @@ namespace ItemDB
const StringVect &getTags();
- bool exists(int id);
+ bool exists(const int id);
- const ItemInfo &get(int id);
+ const ItemInfo &get(const int id);
const ItemInfo &get(const std::string &name);
// Items database