BAN: Fix function call in Vector

This commit is contained in:
Bananymous 2023-06-01 00:50:04 +03:00
parent 0ffd2a5c1d
commit feea2d4024
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ namespace BAN
template<typename T> template<typename T>
ErrorOr<void> Vector<T>::insert(size_type index, const T& value) ErrorOr<void> Vector<T>::insert(size_type index, const T& value)
{ {
return insert(move(T(value)), index); return insert(index, move(T(value)));
} }
template<typename T> template<typename T>