forked from boostorg/unordered
Unordered: Fix unnecessary_copy_tests failures.
[SVN r73894]
This commit is contained in:
1 parent
c001139465
commit
2ecfa0e08c
3 files changed
+58
-19
No files matched your search
@@ -242,9 +242,11 @@ namespace boost { namespace unordered { namespace detail {
|
||||
#else
|
||||
|
||||
template <class Arg0>
|
||||
emplace_return emplace(Arg0 const& arg0)
|
||||
emplace_return emplace(BOOST_FWD_REF(Arg0) arg0)
|
||||
{
|
||||
return emplace_impl(extractor::extract(arg0), arg0);
|
||||
return emplace_impl(
|
||||
extractor::extract(boost::forward<Arg0>(arg0)),
|
||||
boost::forward<Arg0>(arg0));
|
||||
}
|
||||
|
||||
#define BOOST_UNORDERED_INSERT1_IMPL(z, n, _) \
|
||||
|
||||
Reference in new issue
Block a user