diff --git a/src/Memory/UniquePtrList.hpp b/src/Memory/UniquePtrList.hpp index c34651f..3b23697 100644 --- a/src/Memory/UniquePtrList.hpp +++ b/src/Memory/UniquePtrList.hpp @@ -15,6 +15,7 @@ namespace ArbUt { public: inline UniquePtrList() : _vector() {} + inline UniquePtrList(std::vector vec) : _vector(vec) {} explicit inline UniquePtrList(size_t capacity) : _vector() { _vector.reserve(capacity); } inline UniquePtrList(const std::initializer_list& l) : _vector(l) {} inline UniquePtrList(ValueT* const* begin, ValueT* const* end) : _vector(begin, end) {}