diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 07:48:51 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 07:48:51 +0100 |
commit | 4766b404d5fa96fbb23a121cbe01336d1eb7dd29 (patch) | |
tree | 46f8f342b6b8c1b7e5093e36e712ca1597a4a528 /test | |
parent | d87c0cb28720610ca7483f2d8de0613f583dc354 (diff) |
fix msvc
Diffstat (limited to 'test')
-rw-r--r-- | test/map.cpp | 4 |
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" |