Skip to content

Commit

Permalink
Update Google Benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
lethal-guitar committed Apr 13, 2024
1 parent 6ef0feb commit f15d7ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(FetchContent)
FetchContent_Declare(
benchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG v1.5.3
GIT_TAG v1.8.3
)
FetchContent_GetProperties(benchmark)
if(NOT benchmark_POPULATED)
Expand Down
2 changes: 1 addition & 1 deletion benchmark/bench_string_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static void BMStringSplit(benchmark::State& state)
std::string const kInputString = "Hello, world";
for (auto _ : state)
{
const auto v = rigel::strings::split(kInputString, ',');
auto v = rigel::strings::split(kInputString, ',');
benchmark::DoNotOptimize(v);
benchmark::ClobberMemory();
}
Expand Down

0 comments on commit f15d7ca

Please sign in to comment.