Skip to content

Commit

Permalink
clang format yet again
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jul 17, 2024
1 parent 4b184d4 commit ad2b1c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/benchmark/benchmark.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
};

Expand Down
2 changes: 1 addition & 1 deletion src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ad2b1c9

Please sign in to comment.