diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 22:59:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 22:59:14 +0300 |
commit | 8fc6f2aa19079bebf52552fc5d0b8527af594a1d (patch) | |
tree | fc3ba99f474b9580bf32fa59cee05a0a529d8bf3 /src | |
parent | 8c89a597f13437ff3c48c861bb417c4b7496b4d1 (diff) | |
download | plus-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.tar.gz plus-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.tar.bz2 plus-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.tar.xz plus-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.zip |
Add pragmas into MapReader to avoid destructor clang warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/memorycounter.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |