silenced VS warning C4714

This commit is contained in:
joaquintides
2022-10-04 18:47:23 +02:00
parent e69bb3aece
commit b7e021ffc6

View File

@ -872,6 +872,11 @@ void swap_if(T&,T&){}
#pragma GCC diagnostic ignored "-Wshadow"
#endif
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4714) /* marked as __forceinline not inlined */
#endif
template<typename TypePolicy,typename Hash,typename Pred,typename Allocator>
class
@ -1504,6 +1509,10 @@ private:
std::size_t ml;
};
#if defined(BOOST_MSVC)
#pragma warning(pop) /* C4714 */
#endif
#if defined(BOOST_GCC)
#pragma GCC diagnostic pop /* ignored "-Wshadow" */
#endif