diff --git a/deps/ox/deps/cityhash/include/cityhash/city.h b/deps/ox/deps/cityhash/include/cityhash/city.h index c99bc7c0..9c9a2a87 100644 --- a/deps/ox/deps/cityhash/include/cityhash/city.h +++ b/deps/ox/deps/cityhash/include/cityhash/city.h @@ -104,6 +104,11 @@ using size_t = decltype(alignof(int)); #endif +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" +#endif + namespace cityhash::detail { template @@ -671,4 +676,8 @@ constexpr uint128 CityHash128(const char *s, size_t len) noexcept { } +#ifdef __clang__ +#pragma clang diagnostic pop +#endif + #endif // CITY_HASH_H_