summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-21 21:38:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-21 21:38:05 +0300
commit1198f1c981bb0afc193884a23a18705d1171b307 (patch)
tree935bd12847d7b5d1b9da0b080a2a8a66995ad2db
parente465ecdf0c7f867a62236a5a0945a85f35eee039 (diff)
downloadmanaplus-1198f1c981bb0afc193884a23a18705d1171b307.tar.gz
manaplus-1198f1c981bb0afc193884a23a18705d1171b307.tar.bz2
manaplus-1198f1c981bb0afc193884a23a18705d1171b307.tar.xz
manaplus-1198f1c981bb0afc193884a23a18705d1171b307.zip
Add missing contructor and remove copy constructor in itemoption.
-rw-r--r--src/resources/item/itemoption.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/item/itemoption.h b/src/resources/item/itemoption.h
index 9d3745f28..5d993c8d6 100644
--- a/src/resources/item/itemoption.h
+++ b/src/resources/item/itemoption.h
@@ -25,6 +25,11 @@
struct ItemOption final
{
+ ItemOption()
+ { }
+
+ A_DELETE_COPY(ItemOption)
+
uint16_t index;
int16_t value;
};