Skip to content

Commit

Permalink
Merge pull request #29896 from fwyzard/Apply_clang-format_Utilities
Browse files Browse the repository at this point in the history
Apply code checks to the Utilities packages
  • Loading branch information
cmsbuild committed May 20, 2020
2 parents 31c0620 + 909dc93 commit 026c13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/General/test/google-benchmark-basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BENCHMARK(BM_StringCreation);
static void BM_StringCopy(benchmark::State& state) {
std::string x = "hello";
for (auto _ : state)
std::string copy(x);
std::string copy(x); // NOLINT - prevent clang-tidy from changing to a `const &`
}
BENCHMARK(BM_StringCopy);

Expand Down

0 comments on commit 026c13e

Please sign in to comment.