diff --git a/src/tarray.h b/src/tarray.h index 38e655563..636d7a1d1 100644 --- a/src/tarray.h +++ b/src/tarray.h @@ -630,7 +630,7 @@ public: this->Count = other.Count; pointed = true; } - TStaticPointableArray &operator=(TStaticArray &&other) + TStaticPointableArray &operator=(TStaticArray &&other) { if (!pointed && this->Array) delete[] this->Array; this->Array = other.Array;