Skip to content

Commit

Permalink
Fix compilation with libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasMagnus committed Feb 13, 2024
1 parent 5f82f75 commit a80f0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tutorials/Reduction/benchmarks/bench_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ std::vector<benchmark::internal::Benchmark*>
[&](const std::size_t item_count)
{
auto bench = benchmark::RegisterBenchmark(
std::to_string(input_size) + "_" + std::to_string(block_size) + "_" + std::to_string(item_count),
(std::to_string(input_size) + "_" + std::to_string(block_size) + "_" + std::to_string(item_count)).c_str(),
[&reduce, &input, input_size, block_size, item_count](benchmark::State& state)
{
// Run (length of loop comes from `b->Iterations(run_count);`)
Expand Down

0 comments on commit a80f0b6

Please sign in to comment.