diff options
Diffstat (limited to 'zen/file_io.h')
-rw-r--r-- | zen/file_io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zen/file_io.h b/zen/file_io.h index 4210cc57..a7385241 100644 --- a/zen/file_io.h +++ b/zen/file_io.h @@ -110,6 +110,8 @@ public: void write(const void* buffer, size_t bytesToWrite) { tmpFile_.write(buffer, bytesToWrite); } //throw FileError, X + FileOutput& refTempFile() { return tmpFile_; } + void commit() //throw FileError, X { tmpFile_.finalize(); //throw FileError, X |