aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--googlemock/test/gmock-matchers_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index de02929b..05c6eb6f 100644
--- a/googlemock/test/gmock-matchers_test.cc
+++ b/googlemock/test/gmock-matchers_test.cc
@@ -35,7 +35,7 @@
// Disable MSVC2015 warning for std::pair:
// "decorated name length exceeded, name was truncated".
-#if defined _MSC_VER
+#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4503)
#endif
@@ -6736,7 +6736,6 @@ TEST(NotTest, WorksOnMoveOnlyType) {
} // namespace gmock_matchers_test
} // namespace testing
-#if defined _MSC_VER
+#ifdef _MSC_VER
# pragma warning(pop)
#endif
-