mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Remove file flush.
PiperOrigin-RevId: 715239362
This commit is contained in:
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";
|
||||
|
||||
Reference in New Issue
Block a user