mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-11 05:14:05 +00:00
fixed interaction of C++03 boost::move with non-refd template params
This commit is contained in:
parent
85b6cdba91
commit
f8945d113e
@ -207,7 +207,7 @@ void test_transfer_result(
|
|||||||
(!is_key_based<Dst>::value||*pos==x)){
|
(!is_key_based<Dst>::value||*pos==x)){
|
||||||
BOOST_TEST(boost::next(res.position)==pos);
|
BOOST_TEST(boost::next(res.position)==pos);
|
||||||
}
|
}
|
||||||
test_transfer_result(dst,boost::move(res),n,x);
|
test_transfer_result(dst,Ret(boost::move(res)),n,x);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Dst,typename NodeHandle,typename Value>
|
template<typename Dst,typename NodeHandle,typename Value>
|
||||||
@ -227,7 +227,7 @@ void test_transfer_result_empty(
|
|||||||
Dst& dst,typename Dst::iterator,Ret res,
|
Dst& dst,typename Dst::iterator,Ret res,
|
||||||
typename enable_if_not_iterator<Ret>::type=0)
|
typename enable_if_not_iterator<Ret>::type=0)
|
||||||
{
|
{
|
||||||
test_transfer_result_empty(dst,boost::move(res));
|
test_transfer_result_empty(dst,Ret(boost::move(res)));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Dst>
|
template<typename Dst>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user