small_vector: Added copy/move constructor/assignments from small_vector_base

This commit is contained in:
Ion Gaztañaga committed 2015-12-24 13:46:00 +01:00
1 parent 75f7c8fa73
commit 641d1a5d5a
4 files changed
+61 -21

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ class alloc_propagate_wrapper
{}
alloc_propagate_wrapper &operator=(BOOST_COPY_ASSIGN_REF(alloc_propagate_wrapper) x)
{ this->Base::operator=(x); return *this; }
{ this->Base::operator=((const Base &)x); return *this; }
alloc_propagate_wrapper &operator=(BOOST_RV_REF(alloc_propagate_wrapper) x)
{ this->Base::operator=(boost::move(static_cast<Base&>(x))); return *this; }