Disable -Wnon-virtual-dtor

This commit is contained in:
Peter Dimov
2019-03-04 16:35:35 +02:00
parent 2d37749d00
commit af1dc84160

View File

@ -155,6 +155,10 @@ template<> struct is_error_condition_enum<errc::errc_t>
};
// class error_category
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
#ifdef BOOST_MSVC
#pragma warning( push )
@ -314,6 +318,10 @@ public:
} // namespace detail
#if defined( BOOST_GCC ) || defined( BOOST_CLANG )
#pragma GCC diagnostic pop
#endif
// generic_category(), system_category()
#if defined(BOOST_SYSTEM_HAS_CONSTEXPR)