From f8945d113e1e23c5004aa97e3abe53a972665b15 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sun, 10 May 2020 11:50:06 +0200 Subject: [PATCH] fixed interaction of C++03 boost::move with non-refd template params --- test/test_node_handling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_node_handling.cpp b/test/test_node_handling.cpp index 85b55a6..a2ecd18 100644 --- a/test/test_node_handling.cpp +++ b/test/test_node_handling.cpp @@ -207,7 +207,7 @@ void test_transfer_result( (!is_key_based::value||*pos==x)){ 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 @@ -227,7 +227,7 @@ void test_transfer_result_empty( Dst& dst,typename Dst::iterator,Ret res, typename enable_if_not_iterator::type=0) { - test_transfer_result_empty(dst,boost::move(res)); + test_transfer_result_empty(dst,Ret(boost::move(res))); } template