summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h
index 6d20da7cd..a3379ebdc 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -124,7 +124,7 @@ public:
// tolua_end
/** Returns the cItemHandler responsible for this item type */
- cItemHandler * GetHandler(void) const;
+ const cItemHandler & GetHandler(void) const;
/** Saves the item data into JSON representation */
void GetJson(Json::Value & a_OutValue) const;