summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
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"