diff --git a/src/Collections/List.hpp b/src/Collections/List.hpp index 79a11fe..2cd82ce 100644 --- a/src/Collections/List.hpp +++ b/src/Collections/List.hpp @@ -16,7 +16,7 @@ namespace Arbutils::Collections { public: List() : _vector() {} - explicit List(size_t capacity) : _vector(0) { _vector.reserve(capacity); } + explicit List(size_t capacity) : _vector() { _vector.reserve(capacity); } List(const std::initializer_list& l) : _vector(l) {} List(const ValueT* begin, const ValueT* end) : _vector(begin, end) {}