From 8fc6f2aa19079bebf52552fc5d0b8527af594a1d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 22:59:14 +0300 Subject: Add pragmas into MapReader to avoid destructor clang warning. --- src/resources/memorycounter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/resources/memorycounter.h b/src/resources/memorycounter.h index 809a6196d..94bebc984 100644 --- a/src/resources/memorycounter.h +++ b/src/resources/memorycounter.h @@ -30,8 +30,11 @@ class MemoryCounter notfinal public: MemoryCounter(); +PRAGMACLANG(GCC diagnostic push) +PRAGMACLANG(GCC diagnostic ignored "-Wdeprecated") virtual ~MemoryCounter() { } +PRAGMACLANG(GCC diagnostic pop) int calcMemory(const int level) const; -- cgit v1.2.3-70-g09d2