trivial bugfix for deba
authorklao
Mon, 04 Jul 2005 16:18:11 +0000
changeset 1535e667cd5c0886
parent 1534 b86aad11f842
child 1536 308150155bb5
trivial bugfix for deba
lemon/bits/item_writer.h
     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  	}