From: Tomek Mrugalski Date: Tue, 20 May 2014 09:13:01 +0000 (+0200) Subject: [3400] Obsolete comment removed. X-Git-Tag: trac3434_base~32^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5625dbfde4b1b70c46ac085f03dde52721098df2;p=thirdparty%2Fkea.git [3400] Obsolete comment removed. --- diff --git a/src/lib/cc/data.cc b/src/lib/cc/data.cc index 989e802b58..26c5673bab 100644 --- a/src/lib/cc/data.cc +++ b/src/lib/cc/data.cc @@ -1063,12 +1063,6 @@ merge(ElementPtr element, ConstElementPtr other) { void Element::preprocess(std::istream& in, std::stringstream& out) { - // There is no assignment operator defined for streams, so we can't return - // stream as an object. If we return a pointer, someone would have to free - // it. So the most convenient way is to return a reference. However, since - // it's not allowed to return references to automatic variables, we must - // make sure that the reference is valid after this method returns. So - // returning a value to static object seems the only feasible way to go. std::string line; while (std::getline(in, line)) {