made some clarifications in one of the comments in class String

This commit is contained in:
Kjistóf 2016-10-29 11:42:58 +02:00
parent de6273cc63
commit 6d1245bf0b

View File

@ -163,7 +163,7 @@ std::istream& operator>>(std::istream& is, String& str)
if (str._str) // if there is some old data, release it if (str._str) // if there is some old data, release it
str._str->operator--(); str._str->operator--();
str._str = new StringValue(data.release()); // get ownership of final data str._str = new StringValue(data.release()); // set owner of final data
return is; return is;
} }