Fixed noexcept benchmark build for gcc.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user