summaryrefslogtreecommitdiff
path: root/zen/file_io.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-02-02 11:44:31 -0500
committerB Stack <bgstack15@gmail.com>2021-02-02 11:44:31 -0500
commitd299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8 (patch)
tree4d7c950512836f473a6a8cbb521c61e800db6584 /zen/file_io.h
parentMerge branch '11.5' into 'master' (diff)
downloadFreeFileSync-d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8.tar.gz
FreeFileSync-d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8.tar.bz2
FreeFileSync-d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8.zip
add upstream 11.6
Diffstat (limited to 'zen/file_io.h')
-rw-r--r--zen/file_io.h2
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
bgstack15