aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/io/zero_copy_stream_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/io/zero_copy_stream_impl.cc')
-rw-r--r--src/google/protobuf/io/zero_copy_stream_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/io/zero_copy_stream_impl.cc b/src/google/protobuf/io/zero_copy_stream_impl.cc
index 04d573e1..730bd2f7 100644
--- a/src/google/protobuf/io/zero_copy_stream_impl.cc
+++ b/src/google/protobuf/io/zero_copy_stream_impl.cc
@@ -528,6 +528,10 @@ bool FileOutputStream::Close() {
return copying_output_.Close() && flush_succeeded;
}
+bool FileOutputStream::Flush() {
+ return impl_.Flush();
+}
+
bool FileOutputStream::Next(void** data, int* size) {
return impl_.Next(data, size);
}