Fixed compilation on older clang (3.6)

master
Martin Felis 2017-01-14 16:22:46 +01:00
parent c76f0959ff
commit a942ff9ea9
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ struct WriteSerializer {
}
void Open(const char* filename) {
stream = std::ofstream(filename, std::ofstream::trunc);
stream.open(filename, std::ofstream::trunc);
}
void Close() {