2
0
mirror of https://github.com/boostorg/uuid.git synced 2026-01-19 04:42:16 +00:00

Suppress msvc-14.1 warnings in test_hash_value_cx

This commit is contained in:
Peter Dimov
2025-12-25 13:48:11 +02:00
parent 963bb373d0
commit e78661b1e2

View File

@@ -2,6 +2,11 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#if defined(_MSC_VER) && _MSC_VER < 1920
# pragma warning( disable: 4307 ) // '*': integral constant overflow
# pragma warning( disable: 4309 ) // 'static_cast': truncation of constant value
#endif
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <boost/core/lightweight_test.hpp>