mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
silenced VS warning C4714
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user