summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/item.h b/src/item.h
index 3f03b7b43..0d5917bf0 100644
--- a/src/item.h
+++ b/src/item.h
@@ -40,9 +40,10 @@ class Item
/**
* Constructor.
*/
- Item(const int id = -1, const int quantity = 0, const int refine = 0,
- const unsigned char color = 1, const bool equipment = false,
- const bool equipped = false);
+ explicit Item(const int id = -1, const int quantity = 0,
+ const int refine = 0, const unsigned char color = 1,
+ const bool equipment = false,
+ const bool equipped = false);
A_DELETE_COPY(Item)