BAN: Fix function call in Vector
This commit is contained in:
parent
0ffd2a5c1d
commit
feea2d4024
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue