From c60420297a1cb3e0a5a3d91fd64e5b784fff6f80 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Wed, 8 Nov 2023 18:32:07 +0100 Subject: [PATCH] Add MSVC_VER for pragma pop Signed-off-by: Jose Luis Rivero --- testing/include/gz/common/testing/CMakeTestPaths.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/include/gz/common/testing/CMakeTestPaths.hh b/testing/include/gz/common/testing/CMakeTestPaths.hh index 998fe939..f37b566c 100644 --- a/testing/include/gz/common/testing/CMakeTestPaths.hh +++ b/testing/include/gz/common/testing/CMakeTestPaths.hh @@ -57,5 +57,7 @@ class GZ_COMMON_TESTING_VISIBLE CMakeTestPaths: public TestPaths public: bool TestTmpPath(std::string &_tmpDir) override; }; } // namespace gz::common::testing +#ifdef _MSC_VER # pragma warning( pop ) +#endif #endif // GZ_COMMON_TESTING_CMAKETESTPATHS_HH_