From d382483fa76028c2d34f75067bff45306c6da34e Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 19 Aug 2017 09:29:55 +0200 Subject: Code modernization: src/m* (part 3) * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove some unused headers in some cpp variable --- src/mg_ore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mg_ore.h') diff --git a/src/mg_ore.h b/src/mg_ore.h index eaaf2b883..253b115a2 100644 --- a/src/mg_ore.h +++ b/src/mg_ore.h @@ -64,7 +64,7 @@ public: Noise *noise = nullptr; std::unordered_set biomes; - Ore() {}; + Ore() = default;; virtual ~Ore(); virtual void resolveNodeNames(); @@ -136,7 +136,7 @@ public: class OreManager : public ObjDefManager { public: OreManager(IGameDef *gamedef); - virtual ~OreManager() {} + virtual ~OreManager() = default; const char *getObjectTitle() const { -- cgit v1.2.3