From ced12b62e0f07a87acde665589fe333075b35178 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 23 Oct 2023 04:39:15 +1100 Subject: [PATCH] Fix formatting in BTree Repacker --- source/utility/btree_repacker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/utility/btree_repacker.cpp b/source/utility/btree_repacker.cpp index 14f0fb1..ee65609 100644 --- a/source/utility/btree_repacker.cpp +++ b/source/utility/btree_repacker.cpp @@ -34,7 +34,7 @@ int main(int argc, char** argv) { newDb.setIODevice(std::move(File::open(outputFilename, IOMode::ReadWrite | IOMode::Truncate))); newDb.open(); - coutf("Repacking %s...\n", bTreePath); + coutf("Repacking {}...\n", bTreePath); //copy the data over unsigned count = 0; db.forAll([&count, &newDb](ByteArray key, ByteArray data) { @@ -48,11 +48,11 @@ int main(int argc, char** argv) { newDb.commit(); newDb.close(); - coutf("Repacked BTree to %s in %ss\n", outputFilename, Time::monotonicTime() - startTime); + coutf("Repacked BTree to {} in {}s\n", outputFilename, Time::monotonicTime() - startTime); return 0; } catch (std::exception const& e) { - cerrf("Exception caught: %s\n", outputException(e, true)); + cerrf("Exception caught: {}\n", outputException(e, true)); return 1; } }