diff options
author | peterbell10 <peterbell10@live.co.uk> | 2020-05-10 18:16:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 18:16:49 +0200 |
commit | 84289a2ba996b41815f148f27aecc52a7864066d (patch) | |
tree | 7434a6b14dde1597bd687e0a71a28135a1d31adc /src/Statistics.cpp | |
parent | Cleanup unneeded globals (#4736) (diff) | |
download | cuberite-84289a2ba996b41815f148f27aecc52a7864066d.tar cuberite-84289a2ba996b41815f148f27aecc52a7864066d.tar.gz cuberite-84289a2ba996b41815f148f27aecc52a7864066d.tar.bz2 cuberite-84289a2ba996b41815f148f27aecc52a7864066d.tar.lz cuberite-84289a2ba996b41815f148f27aecc52a7864066d.tar.xz cuberite-84289a2ba996b41815f148f27aecc52a7864066d.tar.zst cuberite-84289a2ba996b41815f148f27aecc52a7864066d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Statistics.cpp | 8 |
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 + |