summaryrefslogtreecommitdiffstats
path: root/googlemock/test
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-04-05 11:55:25 -0400
committerGennadiy Civil <misterg@google.com>2018-04-05 11:55:25 -0400
commit66eaf9f0eb894851f22544297f26aab39fe110d1 (patch)
treeb7b841c442c3545836040d4b8976a422d1b62207 /googlemock/test
parentaf93d59eb7b3b2b4d678d999a6f302f0cd28d841 (diff)
downloadgoogletest-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.cc2
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";
OpenPOWER on IntegriCloud