From a9877525597aa94f1d974b8f45567b4168cf6c8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Oct 2014 18:43:00 +0300 Subject: Remove item default parameters. --- src/item.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 208be2cc6..be6820d2a 100644 --- a/src/item.h +++ b/src/item.h @@ -40,12 +40,12 @@ class Item notfinal /** * Constructor. */ - explicit Item(const int id = -1, - const int quantity = 0, - const uint8_t refine = 0, - const uint8_t color = 1, - const bool equipment = false, - const bool equipped = false); + Item(const int id, + const int quantity, + const uint8_t refine, + const uint8_t color, + const bool equipment, + const bool equipped); A_DELETE_COPY(Item) @@ -55,7 +55,7 @@ class Item notfinal virtual ~Item(); /** - * Sets the item id, identifying the item type. + * Sets the item id, color the item type. */ void setId(const int id, const unsigned char color); -- cgit v1.2.3-60-g2f50