shut down bogus VS warning

This commit is contained in:
joaquintides
2022-10-02 11:14:19 +02:00
parent 4dbc83ccbf
commit 621b5b4ec1

View File

@ -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