clang format yet again

This commit is contained in:
Dominic Hamon 2024-07-17 16:49:12 +01:00
parent 4b184d47a4
commit ad2b1c9ed1
2 changed files with 2 additions and 2 deletions

View File

@ -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; }
};

View File

@ -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;