]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3400] Obsolete comment removed.
authorTomek Mrugalski <tomasz@isc.org>
Tue, 20 May 2014 09:13:01 +0000 (11:13 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 20 May 2014 09:13:01 +0000 (11:13 +0200)
src/lib/cc/data.cc

index 989e802b58f696d37d7b04dbaf40a2a0af563d91..26c5673bab232dc3e5718f1c76f524479154537b 100644 (file)
@@ -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)) {