diff --git a/CommonLibs/Vector.h b/CommonLibs/Vector.h index eae674b8..15d6710b 100644 --- a/CommonLibs/Vector.h +++ b/CommonLibs/Vector.h @@ -118,8 +118,8 @@ template class Vector { /** Build an empty Vector of a given size. */ Vector(size_t wSize=0):mData(NULL) { resize(wSize); } - /** Build a Vector by shifting the data block. */ - Vector(Vector& other) + /** Build a Vector by moving another. */ + Vector(Vector&& other) :mData(other.mData),mStart(other.mStart),mEnd(other.mEnd) { other.mData=NULL; }