Merge branch 'jartha/fix-vector-copy-assign' into 'master'

srb2::Vector: fix copy assignment not clearing contents of vector

Closes #1506

See merge request kart-krew-dev/ring-racers-internal!2579
This commit is contained in:
Eidolon 2025-05-26 19:51:04 -05:00
commit b056409f7b

View file

@ -149,6 +149,7 @@ public:
Vector& operator=(const Vector& rhs)
{
clear();
for (auto itr = rhs.begin(); itr != rhs.end(); itr++)
{
push_back(*itr);