diff --git a/src/tarray.h b/src/tarray.h index 5b9752d0fc..5ae24965de 100644 --- a/src/tarray.h +++ b/src/tarray.h @@ -576,7 +576,7 @@ public: TStaticArray &operator=(const TStaticArray &other) { Alloc(other.Size()); - memcpy(Array, other.Array, Count * sizeof(T)); + memcpy(this->Array, other.Array, this->Count * sizeof(T)); return *this; } };