diff options
author | Gennadiy Civil <misterg@google.com> | 2018-04-05 11:55:25 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-04-05 11:55:25 -0400 |
commit | 66eaf9f0eb894851f22544297f26aab39fe110d1 (patch) | |
tree | b7b841c442c3545836040d4b8976a422d1b62207 /googlemock/test | |
parent | af93d59eb7b3b2b4d678d999a6f302f0cd28d841 (diff) | |
download | googletest-66eaf9f0eb894851f22544297f26aab39fe110d1.tar.gz googletest-66eaf9f0eb894851f22544297f26aab39fe110d1.zip |
Have to wait for this one
Diffstat (limited to 'googlemock/test')
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index f0e42f59..daac0327 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -758,7 +758,7 @@ TEST(MatcherCastTest, NonImplicitlyConstructibleTypeWithOperatorEq) { namespace convertible_from_any { // Implicitly convertible from any type. struct ConvertibleFromAny { - ConvertibleFromAny(int a_value) : value(a_value) {} + explicit ConvertibleFromAny(int a_value) : value(a_value) {} template <typename T> ConvertibleFromAny(const T& /*a_value*/) : value(-1) { ADD_FAILURE() << "Conversion constructor called"; |