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 Catch {
namespace Benchmark { namespace Benchmark {
namespace Detail { namespace Detail {
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION
CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS
const std::string benchmarkErrorMsg = "a benchmark failed to run successfully"; const std::string benchmarkErrorMsg = "a benchmark failed to run successfully";
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION
} // namespace Detail } // namespace Detail
} // namespace Benchmark } // namespace Benchmark
} // namespace Catch } // namespace Catch