diff --git a/include/boost/core/empty_value.hpp b/include/boost/core/empty_value.hpp index 2ac2331..9dfd442 100644 --- a/include/boost/core/empty_value.hpp +++ b/include/boost/core/empty_value.hpp @@ -25,6 +25,11 @@ Distributed under the Boost Software License, Version 1.0. #endif #endif +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4510) +#endif + namespace boost { template @@ -143,4 +148,8 @@ BOOST_INLINE_CONSTEXPR empty_init_t empty_init = empty_init_t(); } /* boost */ +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + #endif