Content deleted Content added
m v2.04b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation) |
Oconnor663 (talk | contribs) wording tweak for clarity |
||
Line 18:
// If we're not trying to move the object into itself...
if (this != &other) {
delete[] this->data_; //
this->data_ = other.data_; // Copy the other string's data pointer into this string.
other.data_ = nullptr; // Finally, reset the other string's data pointer.
}
|