[Positioning] TextFileWriter: fix text writing

We wrote a C string instead of a string into the file stream, which
caused valgrind errors.
This commit is contained in:
Matteo Cypriani 2010-06-23 10:32:29 +02:00
parent cf42098cbd
commit f3f59ff203
1 changed files with 1 additions and 1 deletions

View File

@ -40,6 +40,6 @@ bool TextFileWriter::write_text(const string &text)
if (! file)
return false ;
file << text.c_str() ;
file << text ;
return true ;
}