We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b184d4 commit ad2b1c9Copy full SHA for ad2b1c9
include/benchmark/benchmark.h
@@ -674,7 +674,7 @@ class Counter {
674
Counter(double v = 0., Flags f = kDefaults, OneK k = kIs1000)
675
: value(v), flags(f), oneK(k) {}
676
677
- BENCHMARK_ALWAYS_INLINE operator double const&() const { return value; }
+ BENCHMARK_ALWAYS_INLINE operator double const &() const { return value; }
678
BENCHMARK_ALWAYS_INLINE operator double&() { return value; }
679
};
680
src/sysinfo.cc
@@ -120,7 +120,7 @@ struct ValueUnion {
120
121
explicit ValueUnion(std::size_t buff_size)
122
: size(sizeof(DataT) + buff_size),
123
- buff(::new(std::malloc(size)) DataT(), &std::free) {}
+ buff(::new (std::malloc(size)) DataT(), &std::free) {}
124
125
ValueUnion(ValueUnion&& other) = default;
126
0 commit comments