Skip to content

Commit

Permalink
Remove file flush.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 715239362
  • Loading branch information
ftsui authored and copybara-github committed Jan 14, 2025
1 parent 2b861b6 commit 912d12b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/platform/implementation/windows/file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 912d12b

Please sign in to comment.