Fixed #128 ("moved from small_vector and static_vector calls destructor on elements in static part")

This commit is contained in:
Ion Gaztañaga
2020-07-12 13:48:38 +02:00
parent 069351adfc
commit 2d9d28b81e
4 changed files with 13 additions and 5 deletions
+1
View File
@@ -460,6 +460,7 @@ class small_vector_base
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 ()))
);
x.clear();
}
}
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED