Fixed noexcept benchmark build for gcc.

This commit is contained in:
Evgeny Proydakov authored and Martin Hořeňovský committed 2021-05-21 20:49:16 +02:00
1 parent 6971476563
commit b15b862d86
1 file changed
+1 -1
@@ -56,7 +56,7 @@ namespace Catch {
}
iters *= 2;
}
throw optimized_away_error{};
Catch::throw_exception(optimized_away_error{});
}
} // namespace Detail
} // namespace Benchmark