summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-matchers_test.cc
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-04-12 09:45:07 -0400
committerGennadiy Civil <misterg@google.com>2018-04-12 09:45:07 -0400
commitb2d81b4fb2a229d01655afabec9679197cc2c1f4 (patch)
treeb0122484157fc0f70a87bb5a78582a09c42fe863 /googlemock/test/gmock-matchers_test.cc
parent07f3bdd4c93dd556d08eba8de3a17cfcbe5cd132 (diff)
downloadgoogletest-b2d81b4fb2a229d01655afabec9679197cc2c1f4.tar.gz
googletest-b2d81b4fb2a229d01655afabec9679197cc2c1f4.zip
merge, ... gmock-matchers test
Diffstat (limited to 'googlemock/test/gmock-matchers_test.cc')
-rw-r--r--googlemock/test/gmock-matchers_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index 4f7d0ec0..0e40df31 100644
--- a/googlemock/test/gmock-matchers_test.cc
+++ b/googlemock/test/gmock-matchers_test.cc
@@ -61,7 +61,7 @@
// Disable MSVC2015 warning for std::pair:
// "decorated name length exceeded, name was truncated".
-#if defined(_MSC_VER) && (_MSC_VER == 1900)
+#if defined(_MSC_VER) && (_MSC_VER <= 1900)
# pragma warning(push)
# pragma warning(disable:4503)
#endif
@@ -761,7 +761,7 @@ namespace convertible_from_any {
struct ConvertibleFromAny {
ConvertibleFromAny(int a_value) : value(a_value) {}
template <typename T>
- explicit ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
+ ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
ADD_FAILURE() << "Conversion constructor called";
}
int value;
@@ -6696,7 +6696,7 @@ TEST(NotTest, WorksOnMoveOnlyType) {
} // namespace gmock_matchers_test
} // namespace testing
-#if defined(_MSC_VER) && (_MSC_VER == 1900)
+#if defined(_MSC_VER) && (_MSC_VER <= 1900)
# pragma warning(pop)
#endif
OpenPOWER on IntegriCloud