Return correct iterator value.

master
Fabian Eckermann 3 years ago committed by Fabian Eckermann
parent e8f6c723b6
commit 94c2967486

@ -254,7 +254,7 @@ public:
std::copy(it + 1, end(), it);
size_--;
return it + 1;
return it;
}
bool operator==(const dyn_array<T>& other) const
{

Loading…
Cancel
Save