Browse Source

String_Type move operator now moves string length.

release/0.19
JustinAJ 11 years ago
parent
commit
455077d1cb
  1. 2
      Jupiter/String_Type_Imp.h

2
Jupiter/String_Type_Imp.h

@ -35,6 +35,8 @@
template<typename T> Jupiter::String_Type<T>::String_Type(Jupiter::String_Type<T> &&source)
{
Jupiter::String_Type<T>::str = source.str;
Jupiter::String_Type<T>::length = source.length;
source.length = 0;
source.str = nullptr;
}

Loading…
Cancel
Save