summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-13 07:48:51 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-13 07:48:51 +0100
commit4766b404d5fa96fbb23a121cbe01336d1eb7dd29 (patch)
tree46f8f342b6b8c1b7e5093e36e712ca1597a4a528 /test
parentd87c0cb28720610ca7483f2d8de0613f583dc354 (diff)
fix msvc
Diffstat (limited to 'test')
-rw-r--r--test/map.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/map.cpp b/test/map.cpp
index 69c9942c..97007b73 100644
--- a/test/map.cpp
+++ b/test/map.cpp
@@ -2,6 +2,10 @@
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
+#ifdef _MSC_VER
+#pragma warning(disable : 4996) // zero-length array
+#endif
+
#include "compat/map.hpp"
#include "compat/assert.hpp"