Use directly boost::movelib::to_raw_pointer/iterator_to_raw_pointer

This commit is contained in:
Ion Gaztañaga committed 2017-04-07 16:07:00 +02:00
1 parent a7e2bed8f1
commit 1d727753e2
15 files changed
+152 -177

No files matched your search

+2 -2
View File
@@ -387,8 +387,8 @@ class small_vector_base
this->steal_resources(x);
}
else{
this->assign( boost::make_move_iterator(container_detail::iterator_to_raw_pointer(x.begin()))
, boost::make_move_iterator(container_detail::iterator_to_raw_pointer(x.end ()))
this->assign( boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(x.begin()))
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(x.end ()))
);
}
}