mirror of
https://github.com/google/benchmark.git
synced 2024-12-25 20:10:13 +08:00
clang format yet again
This commit is contained in:
parent
4b184d47a4
commit
ad2b1c9ed1
@ -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; }
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user