catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fixed noexcept benchmark build for gcc.
- Commit
b15b862d864a2d9dab634d49491b9b14ad7180f3- Author
- Evgeny Proydakov ·
- Committer
- Martin Hořeňovský
- Parents
6971476563e0
Changes
include/internal/benchmark/detail/catch_run_for_at_least.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/benchmark/detail/catch_run_for_at_least.hpp b/include/internal/benchmark/detail/catch_run_for_at_least.hpp index 339507ba..f63d2b1f 100644 --- a/include/internal/benchmark/detail/catch_run_for_at_least.hpp +++ b/include/internal/benchmark/detail/catch_run_for_at_least.hpp @@ -56,7 +56,7 @@ namespace Catch { } iters *= 2; } - throw optimized_away_error{}; + Catch::throw_exception(optimized_away_error{}); } } // namespace Detail } // namespace Benchmark