Have to wait for this one
This commit is contained in:
parent
66eaf9f0eb
commit
7045138a0d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user