summaryrefslogtreecommitdiff
path: root/src/inventory.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/inventory.h
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadmv-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
mv-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
mv-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
mv-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 46a0b3f58..f5a0f227c 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -66,7 +66,7 @@ class Inventory final
*
* @param size the number of items that fit in the inventory
*/
- Inventory(const int type, const int size = -1);
+ explicit Inventory(const int type, const int size = -1);
/**
* Destructor.