From 0798d095b32fc09a6b7b9c48caafcb2f1d5c562b Mon Sep 17 00:00:00 2001 From: Vedant Date: Wed, 3 Jul 2024 23:30:37 +0530 Subject: [PATCH] Fixing clang-format for performance.cpp and future_overhead_report Signed-off-by: Vedant --- libs/core/testing/src/performance.cpp | 4 ++-- tests/performance/local/future_overhead_report.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/core/testing/src/performance.cpp b/libs/core/testing/src/performance.cpp index 357af43516bf..0227a776785a 100644 --- a/libs/core/testing/src/performance.cpp +++ b/libs/core/testing/src/performance.cpp @@ -144,8 +144,8 @@ average: {{average(elapsed)}}{{^-last}} average += val; } strm << "\n ],\n"; - strm << std::scientific << R"( "average": )"<< average / series - << "\n"; + strm << std::scientific << R"( "average": )" + << average / series << "\n"; strm << " }"; ++outputs; } diff --git a/tests/performance/local/future_overhead_report.cpp b/tests/performance/local/future_overhead_report.cpp index 3744e72b408c..0212360596b8 100644 --- a/tests/performance/local/future_overhead_report.cpp +++ b/tests/performance/local/future_overhead_report.cpp @@ -167,7 +167,7 @@ int hpx_main(variables_map& vm) const std::uint64_t count = vm["futures"].as(); hpx::util::perftests_init(vm); - + if (HPX_UNLIKELY(0 == count)) throw std::logic_error("error: count of 0 futures specified\n");