Replace std::endl by using backslash n.

pull/873/head
Kim Kulling 2016-04-27 17:58:40 +02:00
parent 7468ca5c35
commit 5192b837da
1 changed files with 4 additions and 2 deletions

View File

@ -239,10 +239,12 @@ void DNA :: DumpToFile()
for(const Structure& s : structures) {
f << s.name << " " << s.size << "\n\n";
for(const Field& ff : s.fields) {
f << "\t" << ff.type << " " << ff.name << " " << ff.offset << " " << ff.size << std::endl;
f << "\t" << ff.type << " " << ff.name << " " << ff.offset << " " << ff.size << "\n";
}
f << std::endl;
f << "\n";
}
f << std::flush;
DefaultLogger::get()->info("BlenderDNA: Dumped dna to dna.txt");
}
#endif