From 6d1245bf0bc6c25d012765888659bbaf823e78fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 29 Oct 2016 11:42:58 +0200 Subject: [PATCH] made some clarifications in one of the comments in class String --- String.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/String.cpp b/String.cpp index 62e276f..5785ae5 100644 --- a/String.cpp +++ b/String.cpp @@ -163,7 +163,7 @@ std::istream& operator>>(std::istream& is, String& str) if (str._str) // if there is some old data, release it 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; }