Fixed compilation on older clang (3.6)
parent
c76f0959ff
commit
a942ff9ea9
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue