diff options
author | Kenneth Heafield <github@kheafield.com> | 2013-01-17 15:58:58 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2013-01-17 15:58:58 +0400 |
commit | a7731ce432347981bcc42962e07275a310972bbf (patch) | |
tree | 852bb4a0a7065a765351cd1e963968cac8fc4a6f /util/file_piece.hh | |
parent | 8af1d6a017bfebe134ade38780648771fab4ae69 (diff) |
KenLM 014bced6
Diffstat (limited to 'util/file_piece.hh')
-rw-r--r-- | util/file_piece.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/file_piece.hh b/util/file_piece.hh index 39bd15811..533109769 100644 --- a/util/file_piece.hh +++ b/util/file_piece.hh @@ -29,7 +29,7 @@ class FilePiece { // 1 MB default. explicit FilePiece(const char *file, std::ostream *show_progress = NULL, std::size_t min_buffer = 1048576); // Takes ownership of fd. name is used for messages. - explicit FilePiece(int fd, const char *name, std::ostream *show_progress = NULL, std::size_t min_buffer = 1048576); + explicit FilePiece(int fd, const char *name = NULL, std::ostream *show_progress = NULL, std::size_t min_buffer = 1048576); ~FilePiece(); |