Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/benchmark
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-04-24 11:21:04 +0200
committerMartin Hořeňovský2026-04-24 11:21:04 +0200
commit11a96e186af8b2779d93e550217e9c95d3f89371 (patch)
tree0f478d0761c8a951c9c238f5504fa020929ae7fa /src/catch2/benchmark
parent10f62484bff73e3a58a411e2e10b4e1c13cfba9f (diff)
downloadcatch3-11a96e186af8b2779d93e550217e9c95d3f89371.tar.gz
Cleanups from static analysis
Diffstat (limited to 'src/catch2/benchmark')
-rw-r--r--src/catch2/benchmark/detail/catch_analyse.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/catch2/benchmark/detail/catch_analyse.cpp b/src/catch2/benchmark/detail/catch_analyse.cpp
index 14d7f450..8934f84f 100644
--- a/src/catch2/benchmark/detail/catch_analyse.cpp
+++ b/src/catch2/benchmark/detail/catch_analyse.cpp
@@ -36,11 +36,11 @@ namespace Catch {
samples.data(), samples.data() + samples.size() );
auto wrap_estimate = [](Estimate<double> e) {
- return Estimate<FDuration> {
- FDuration(e.point),
- FDuration(e.lower_bound),
- FDuration(e.upper_bound),
- e.confidence_interval,
+ return Estimate<FDuration>{
+ FDuration( e.point ),
+ FDuration( e.lower_bound ),
+ FDuration( e.upper_bound ),
+ e.confidence_interval,
};
};
std::vector<FDuration> samples2;