diff options
Diffstat (limited to 'CommonLibs/Vector.h')
-rw-r--r-- | CommonLibs/Vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonLibs/Vector.h b/CommonLibs/Vector.h index 15d6710..0ba1b9e 100644 --- a/CommonLibs/Vector.h +++ b/CommonLibs/Vector.h @@ -107,7 +107,7 @@ template <class T> class Vector { void clone(const Vector<T>& other) { resize(other.size()); - memcpy(mData,other.mStart,other.bytes()); + other.copyTo(*this); } |