summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 17:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitffeffa2314dbe03e0ced58e0c465760b54908690 (patch)
tree3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/item.h
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
plus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
plus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
plus-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
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)