Merge "Removing extra string creation for log" into main am: 7bb24d3274

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2708333

Change-Id: I18b8ce294dc0c083f2a054c4bd35a76dad6418b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Daniel Zheng 2023-08-17 19:13:22 +00:00 committed by Automerger Merge Worker
commit ad63042958

View file

@ -174,8 +174,7 @@ void CowWriterV2::InitBatchWrites() {
current_data_pos_ = next_data_pos_;
}
std::string batch_write = batch_write_ ? "enabled" : "disabled";
LOG_INFO << "Batch writes: " << batch_write;
LOG_INFO << "Batch writes: " << batch_write_ ? "enabled" : "disabled";
}
void CowWriterV2::InitWorkers() {