| Index: compiled/String.h |
| =================================================================== |
| --- a/compiled/String.h |
| +++ b/compiled/String.h |
| @@ -326,23 +326,23 @@ public: |
| ~OwnedString() |
| { |
| if (mBuf) |
| delete[] mBuf; |
| } |
| OwnedString& operator=(const String& str) |
| { |
| - *this = std::move(OwnedString(str)); |
| + *this = OwnedString(str); |
| return *this; |
| } |
| OwnedString& operator=(const OwnedString& str) |
| { |
| - *this = std::move(OwnedString(str)); |
| + *this = OwnedString(str); |
| return *this; |
| } |
| OwnedString& operator=(OwnedString&& str) |
| { |
| std::swap(mBuf, str.mBuf); |
| std::swap(mLen, str.mLen); |
| return *this; |