From feea2d4024a6e05abb82cb71ddffc04e339cd82e 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 c4334edb..35c4655f 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