aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/Vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'CommonLibs/Vector.h')
-rw-r--r--CommonLibs/Vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CommonLibs/Vector.h b/CommonLibs/Vector.h
index eae674b..15d6710 100644
--- a/CommonLibs/Vector.h
+++ b/CommonLibs/Vector.h
@@ -118,8 +118,8 @@ template <class T> 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<T>& other)
+ /** Build a Vector by moving another. */
+ Vector(Vector<T>&& other)
:mData(other.mData),mStart(other.mStart),mEnd(other.mEnd)
{ other.mData=NULL; }