Remove file flush.

PiperOrigin-RevId: 715239362
This commit is contained in:
Francis Tsui
2025-01-13 22:32:39 -08:00
committed by Copybara-Service
parent 2b861b63e2
commit 912d12b101
@@ -113,7 +113,6 @@ Exception IOFile::Write(const ByteArray& data) {
}
file_.write(data.data(), data.size());
file_.flush();
return {file_.good() ? Exception::kSuccess : Exception::kIo};
} catch (...) {
LOG(ERROR) << "Fail to write";