From e252f8d84e9b9c69bc02c128be5141407e928117 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Feb 2016 15:43:15 +0300 Subject: Fix compilation with gcc 4.4 or older. --- src/being/localplayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/localplayer.cpp') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 0afb36b42..6b883040c 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1162,8 +1162,8 @@ void LocalPlayer::attributeChanged(const AttributesT id, const int oldVal, const int newVal) { - PRAGMA("GCC diagnostic push") - PRAGMA("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45("GCC diagnostic push") + PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") switch (id) { case Attributes::EXP: @@ -1187,7 +1187,7 @@ void LocalPlayer::attributeChanged(const AttributesT id, default: break; } - PRAGMA("GCC diagnostic pop") + PRAGMA45("GCC diagnostic pop") } void LocalPlayer::move(const int dX, const int dY) -- cgit v1.2.3-70-g09d2