From fea040252d1d2735781960663005ef161a74d981 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 24 Apr 2020 19:13:55 +0200 Subject: [PATCH] Fixed type issue in List. --- src/Collections/List.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {}