summaryrefslogtreecommitdiffstats
path: root/src/Statistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Statistics.cpp')
-rw-r--r--src/Statistics.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Statistics.cpp b/src/Statistics.cpp
index b14d4ccdf..5eabe9b69 100644
--- a/src/Statistics.cpp
+++ b/src/Statistics.cpp
@@ -6,6 +6,10 @@
#include "Statistics.h"
+#ifdef __clang__
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wglobal-constructors"
+#endif
cStatInfo cStatInfo::ms_Info[statCount] =
{
@@ -76,6 +80,10 @@ cStatInfo cStatInfo::ms_Info[statCount] =
cStatInfo(statTreasureFished, "stat.treasureFished")
};
+#ifdef __clang__
+ #pragma clang diagnostic pop
+#endif
+