This commit is contained in:
joaquintides
2022-10-11 10:52:51 +02:00
parent 316eeea983
commit c42d86ac0d

View File

@ -1114,12 +1114,12 @@ public:
typename std::enable_if< typename std::enable_if<
std::is_constructible<value_type,T&&>::value>* =nullptr std::is_constructible<value_type,T&&>::value>* =nullptr
> >
/*BOOST_FORCEINLINE*/ std::pair<iterator,bool> insert(T&& x) BOOST_FORCEINLINE std::pair<iterator,bool> insert(T&& x)
{ {
return emplace_impl(value_from(std::forward<T>(x))); return emplace_impl(value_from(std::forward<T>(x)));
} }
/*BOOST_FORCEINLINE*/ std::pair<iterator,bool> insert(init_type&& x) BOOST_FORCEINLINE std::pair<iterator,bool> insert(init_type&& x)
{ {
return emplace_impl(std::move(x)); return emplace_impl(std::move(x));
} }