[ox/std] Fix Vector copy constructor not to move items
This commit is contained in:
2
deps/ox/src/ox/std/vector.hpp
vendored
2
deps/ox/src/ox/std/vector.hpp
vendored
@ -301,7 +301,7 @@ Vector<T, SmallVectorSize>::Vector(const Vector &other) {
|
||||
m_cap = other.m_cap;
|
||||
this->initItems(&m_items, other.m_cap);
|
||||
for (std::size_t i = 0; i < m_size; ++i) {
|
||||
m_items[i] = move(other.m_items[i]);
|
||||
m_items[i] = other.m_items[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user