mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
s/move/forward in brace-init insert
This commit is contained in:
@ -1114,7 +1114,7 @@ public:
|
|||||||
|
|
||||||
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::forward<init_type>(x));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<
|
template<
|
||||||
|
Reference in New Issue
Block a user