Fixed noexcept benchmark build for gcc.

This commit is contained in:
Evgeny Proydakov 2021-05-20 19:30:45 +03:00 committed by Martin Hořeňovský
parent 6971476563
commit b15b862d86

View File

@ -56,7 +56,7 @@ namespace Catch {
} }
iters *= 2; iters *= 2;
} }
throw optimized_away_error{}; Catch::throw_exception(optimized_away_error{});
} }
} // namespace Detail } // namespace Detail
} // namespace Benchmark } // namespace Benchmark