lemon/bits/item_writer.h
changeset 1535 e667cd5c0886
parent 1533 43c7b3085212
child 1852 ffa7c6e96330
     1.1 --- a/lemon/bits/item_writer.h	Mon Jul 04 16:11:33 2005 +0000
     1.2 +++ b/lemon/bits/item_writer.h	Mon Jul 04 16:18:11 2005 +0000
     1.3 @@ -56,7 +56,7 @@
     1.4      void write(std::ostream& os, const std::string& value) {
     1.5        os << "\"";
     1.6        if (escaped) {
     1.7 -	std::ostringstream ls(value);
     1.8 +	std::ostringstream ls;
     1.9  	for (int i = 0; i < (int)value.size(); ++i) {
    1.10  	  writeEscape(ls, value[i]);
    1.11  	}