From efb3271588e350c699ca7f075808ae82cac13242 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 1 Jun 2023 00:50:04 +0300 Subject: [PATCH] BAN: Fix function call in Vector --- BAN/include/BAN/Vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BAN/include/BAN/Vector.h b/BAN/include/BAN/Vector.h index c4334edbe1..35c4655fbf 100644 --- a/BAN/include/BAN/Vector.h +++ b/BAN/include/BAN/Vector.h @@ -213,7 +213,7 @@ namespace BAN template ErrorOr Vector::insert(size_type index, const T& value) { - return insert(move(T(value)), index); + return insert(index, move(T(value))); } template