Have to wait for this one

This commit is contained in:
Gennadiy Civil 2018-04-05 11:59:59 -04:00
parent 66eaf9f0eb
commit 7045138a0d

View File

@ -758,9 +758,9 @@ TEST(MatcherCastTest, NonImplicitlyConstructibleTypeWithOperatorEq) {
namespace convertible_from_any { namespace convertible_from_any {
// Implicitly convertible from any type. // Implicitly convertible from any type.
struct ConvertibleFromAny { struct ConvertibleFromAny {
explicit ConvertibleFromAny(int a_value) : value(a_value) {} ConvertibleFromAny(int a_value) : value(a_value) {}
template <typename T> template <typename T>
ConvertibleFromAny(const T& /*a_value*/) : value(-1) { explicit ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
ADD_FAILURE() << "Conversion constructor called"; ADD_FAILURE() << "Conversion constructor called";
} }
int value; int value;