diff options
Diffstat (limited to 'src/equipment.h')
-rw-r--r-- | src/equipment.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/equipment.h b/src/equipment.h index 71a15734..726f7f5e 100644 --- a/src/equipment.h +++ b/src/equipment.h @@ -29,9 +29,7 @@ class Item; class Equipment { public: - Equipment(): mBackend(nullptr) {} - - ~Equipment() { mBackend = nullptr; } + Equipment() = default; class Backend { public: @@ -78,7 +76,7 @@ class Equipment { mBackend = backend; } private: - Backend *mBackend; + Backend *mBackend = nullptr; }; #endif |