summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r--src/resources/itemdb.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h
index 016e6194..d8d37bc4 100644
--- a/src/resources/itemdb.h
+++ b/src/resources/itemdb.h
@@ -73,10 +73,7 @@ void setStatsList(const std::list<ItemStat> &stats);
class ItemDB
{
public:
- ItemDB() :
- mUnknown(nullptr),
- mLoaded(false)
- {}
+ ItemDB() = default;
virtual ~ItemDB()
{}
@@ -126,9 +123,9 @@ class ItemDB
void loadEmptyItemDefinition();
// Default unknown reference
- ItemInfo *mUnknown;
+ ItemInfo *mUnknown = nullptr;
- bool mLoaded;
+ bool mLoaded = false;
private:
/**