diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2016-01-25 17:34:28 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2016-01-25 17:34:28 +0300 |
commit | 974510d0ceff03b6abb6fefc9cd880999fab200e (patch) | |
tree | 4c512e14c6da49e997af615f43de71a43f1d60b5 /util | |
parent | e4701070c423d3fe376706b438b9c171f9373a22 (diff) | |
parent | 42b8b89d54a5c670f02a16426a92cc1d0fb97754 (diff) |
Merge ../mosesdecoder into perf_moses2
Diffstat (limited to 'util')
-rw-r--r-- | util/file_stream.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/file_stream.hh b/util/file_stream.hh index ae9ad5aa7..be26a0921 100644 --- a/util/file_stream.hh +++ b/util/file_stream.hh @@ -58,6 +58,7 @@ class FileStream : public FakeOStream<FileStream> { } FileStream &seekp(uint64_t to) { + flush(); util::SeekOrThrow(fd_, to); return *this; } |