Skip to content

Commit

Permalink
Fixed noexcept benchmark build for gcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
proydakov committed May 20, 2021
1 parent 5c88067 commit 70e0529
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace Catch {
}
iters *= 2;
}
throw optimized_away_error{};
Catch::throw_exception(optimized_away_error{});
}
} // namespace Detail
} // namespace Benchmark
Expand Down

0 comments on commit 70e0529

Please sign in to comment.