From 7f9d948a34c0afeb2fbf3e663d058048248b622f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Feb 2014 12:47:35 +0300 Subject: Add missing const and static into resource classes. --- src/resources/iteminfo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/resources/iteminfo.h') diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 43dcbf9e9..d3df1c448 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -229,8 +229,10 @@ class ItemInfo final void setDrawPriority(const int direction, const int n); - void setSpriteOrder(int *const ptr, const int direction, - const int n, const int def = -1) const; + static void setSpriteOrder(int *const ptr, + const int direction, + const int n, + const int def = -1); const std::map &getTags() const A_WARN_UNUSED { return mTags; } -- cgit v1.2.3-70-g09d2