Suppress global constructor warning in benchmarking

This commit is contained in:
Martin Hořeňovský 2020-02-21 19:03:25 +01:00
parent 3bb9fcd916
commit 04f18d996b
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -8,7 +8,10 @@
namespace Catch {
namespace Benchmark {
namespace Detail {
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION
CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS
const std::string benchmarkErrorMsg = "a benchmark failed to run successfully";
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION
} // namespace Detail
} // namespace Benchmark
} // namespace Catch