Disabled cv-qualifierd function type warning on msvc

This commit is contained in:
Kohei Takahashi
2018-05-10 02:08:24 +09:00
parent 37e4fab58b
commit c508ddafea

View File

@ -13,9 +13,11 @@
using namespace boost;
using namespace boost::fusion::detail;
#if defined(__clang__)
// disable cv-qialifer on function type warning
#if defined(BOOST_CLANG)
# pragma clang diagnostic ignored "-Wignored-qualifiers"
#elif defined(BOOST_MSVC)
# pragma warning(disable: 4180)
#endif
BOOST_MPL_ASSERT_NOT((is_trivially_copyable<void>));