diff options
Diffstat (limited to 'src/util/areastore.h')
-rw-r--r-- | src/util/areastore.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/areastore.h b/src/util/areastore.h index e94aa4e2a..24840210e 100644 --- a/src/util/areastore.h +++ b/src/util/areastore.h @@ -37,7 +37,8 @@ with this program; if not, write to the Free Software Foundation, Inc., struct Area { - Area() {} + Area() = default; + Area(const v3s16 &mine, const v3s16 &maxe) : minedge(mine), maxedge(maxe) { @@ -56,7 +57,7 @@ public: m_res_cache(1000, &cacheMiss, this) {} - virtual ~AreaStore() {} + virtual ~AreaStore() = default; static AreaStore *getOptimalImplementation(); |