mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 19:37:14 +02:00
shut down bogus VS warning
This commit is contained in:
@ -1013,6 +1013,11 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4297) /* throw inside noexcept function */
|
||||
#endif
|
||||
|
||||
table& operator=(table&& x)
|
||||
noexcept(
|
||||
alloc_traits::is_always_equal::value&&
|
||||
@ -1054,6 +1059,10 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(pop) /* C4297 */
|
||||
#endif
|
||||
|
||||
allocator_type get_allocator()const noexcept{return al();}
|
||||
|
||||
iterator begin()noexcept
|
||||
|
Reference in New Issue
Block a user