Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jan 13, 2025
1 parent 51fec12 commit 038c5aa
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions include/benchmark/benchmark.h
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,17 @@ typedef std::map<std::string, Counter> UserCounters;
// computational
// complexity for the benchmark. In case oAuto is selected, complexity will be
// calculated automatically to the best fit.
enum BigO : uint8_t { oNone, o1, oN, oNSquared, oNCubed, oLogN, oNLogN, oAuto, oLambda };
enum BigO : uint8_t {
oNone,
o1,
oN,
oNSquared,
oNCubed,
oLogN,
oNLogN,
oAuto,
oLambda
};

typedef int64_t ComplexityN;

Expand Down Expand Up @@ -695,11 +705,7 @@ enum AggregationReportMode : uint8_t {
ARM_FileReportAggregatesOnly | ARM_DisplayReportAggregatesOnly
};

enum Skipped : uint8_t {
NotSkipped = 0,
SkippedWithMessage,
SkippedWithError
};
enum Skipped : uint8_t { NotSkipped = 0, SkippedWithMessage, SkippedWithError };

} // namespace internal

Expand Down Expand Up @@ -1016,7 +1022,7 @@ inline BENCHMARK_ALWAYS_INLINE bool State::KeepRunningInternal(IterationCount n,
}

struct State::StateIterator {
struct BENCHMARK_UNUSED Value {};
struct BENCHMARK_UNUSED Value{};
typedef std::forward_iterator_tag iterator_category;
typedef Value value_type;
typedef Value reference;
Expand Down

0 comments on commit 038c5aa

Please sign in to comment.