Fixed compilation with GCC/Clang

This commit is contained in:
alexey.lysiuk 2017-01-08 17:20:27 +02:00
parent a54d2d8a55
commit e188047d70

View file

@ -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;
}
};