mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
Disable C4244 in scoped_enum.cpp, underlying_type.cpp
This commit is contained in:
parent
964ef98eee
commit
9f2cdfa7d2
@ -15,6 +15,10 @@
|
||||
#include <boost/core/scoped_enum.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable: 4244) // conversion from enum_type to underlying_type
|
||||
#endif
|
||||
|
||||
BOOST_SCOPED_ENUM_DECLARE_BEGIN(namespace_enum1)
|
||||
{
|
||||
value0,
|
||||
|
@ -18,6 +18,10 @@
|
||||
#include <boost/core/is_same.hpp>
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(disable: 4244) // conversion from enum_type to underlying_type
|
||||
#endif
|
||||
|
||||
BOOST_SCOPED_ENUM_UT_DECLARE_BEGIN(emulated_enum, unsigned char)
|
||||
{
|
||||
value0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user