From ad2b1c9ed1ec3120fdf68ad9877ab20681ceb09d Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Wed, 17 Jul 2024 16:49:12 +0100 Subject: [PATCH] clang format yet again --- include/benchmark/benchmark.h | 2 +- src/sysinfo.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/benchmark/benchmark.h b/include/benchmark/benchmark.h index dc876768..7dd72e27 100644 --- a/include/benchmark/benchmark.h +++ b/include/benchmark/benchmark.h @@ -674,7 +674,7 @@ class Counter { Counter(double v = 0., Flags f = kDefaults, OneK k = kIs1000) : value(v), flags(f), oneK(k) {} - BENCHMARK_ALWAYS_INLINE operator double const&() const { return value; } + BENCHMARK_ALWAYS_INLINE operator double const &() const { return value; } BENCHMARK_ALWAYS_INLINE operator double&() { return value; } }; diff --git a/src/sysinfo.cc b/src/sysinfo.cc index 46386411..a153b20c 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc @@ -120,7 +120,7 @@ struct ValueUnion { explicit ValueUnion(std::size_t buff_size) : size(sizeof(DataT) + buff_size), - buff(::new(std::malloc(size)) DataT(), &std::free) {} + buff(::new (std::malloc(size)) DataT(), &std::free) {} ValueUnion(ValueUnion&& other) = default;