Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90d4f89e authored by Daniel Zheng's avatar Daniel Zheng
Browse files

Removing extra string creation for log

Removin unneccessary string from being created in logging

Test: m libsnapshot
Change-Id: I123b6a10f349dfb0c275e630b5f02d1cec8c2687
parent 87d6c8a1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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() {