summaryrefslogtreecommitdiff
path: root/src/resources/memorycounter.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 22:59:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 22:59:14 +0300
commit8fc6f2aa19079bebf52552fc5d0b8527af594a1d (patch)
treefc3ba99f474b9580bf32fa59cee05a0a529d8bf3 /src/resources/memorycounter.h
parent8c89a597f13437ff3c48c861bb417c4b7496b4d1 (diff)
downloadmanaverse-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.tar.gz
manaverse-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.tar.bz2
manaverse-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.tar.xz
manaverse-8fc6f2aa19079bebf52552fc5d0b8527af594a1d.zip
Add pragmas into MapReader to avoid destructor clang warning.
Diffstat (limited to 'src/resources/memorycounter.h')
-rw-r--r--src/resources/memorycounter.h3
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;