diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-27 12:06:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-27 12:33:04 +0200 |
commit | 16b0f269462f7a6f66111dd4c197f2700f402578 (patch) | |
tree | b2142a5466a375601b3b622b16211fe80f04fdc0 | |
parent | 8dce15740c5041324f389e4dc95cb7cd5881de23 (diff) |
hash: disable spurious MSVC warning
-rw-r--r-- | hash/xxhash.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hash/xxhash.cpp b/hash/xxhash.cpp index 157232b9..59691baf 100644 --- a/hash/xxhash.cpp +++ b/hash/xxhash.cpp @@ -6,6 +6,8 @@ #ifdef __clang__ #pragma GCC diagnostic ignored "-Wdisabled-macro-expansion" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" +#elif defined _MSC_VER +#pragma warning(disable: 4310) #endif #include "xxhash.inl" |