mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17: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"
|
#pragma GCC diagnostic ignored "-Wshadow"
|
||||||
#endif
|
#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>
|
template<typename TypePolicy,typename Hash,typename Pred,typename Allocator>
|
||||||
class
|
class
|
||||||
|
|
||||||
@ -1504,6 +1509,10 @@ private:
|
|||||||
std::size_t ml;
|
std::size_t ml;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
#pragma warning(pop) /* C4714 */
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_GCC)
|
#if defined(BOOST_GCC)
|
||||||
#pragma GCC diagnostic pop /* ignored "-Wshadow" */
|
#pragma GCC diagnostic pop /* ignored "-Wshadow" */
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user