forked from boostorg/core
Disable C4244 in scoped_enum.cpp, underlying_type.cpp
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user