diff options
| author | Martin Hořeňovský | 2020-02-21 19:03:25 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-02-21 23:10:12 +0100 |
| commit | 04f18d996ba7d71fda1d28662e2413c06c5e5a49 (patch) | |
| tree | f8f1115105b6bc359be18e21be9730844d115035 /src/catch2 | |
| parent | 3bb9fcd916ecd4a78d1b8bd4c03b0e37115b2532 (diff) | |
| download | catch3-04f18d996ba7d71fda1d28662e2413c06c5e5a49.tar.gz | |
Suppress global constructor warning in benchmarking
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/benchmark/detail/catch_complete_invoke.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/catch2/benchmark/detail/catch_complete_invoke.cpp b/src/catch2/benchmark/detail/catch_complete_invoke.cpp index c074f7a3..8fd43d12 100644 --- a/src/catch2/benchmark/detail/catch_complete_invoke.cpp +++ b/src/catch2/benchmark/detail/catch_complete_invoke.cpp @@ -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 |