Have to wait for this one
This commit is contained in:
parent
0e34a61d3b
commit
22aa2e3632
@ -758,7 +758,7 @@ 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 {
|
||||||
ConvertibleFromAny(int a_value) : value(a_value) {}
|
explicit ConvertibleFromAny(int a_value) : value(a_value) {}
|
||||||
template <typename T>
|
template <typename T>
|
||||||
ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||||
ADD_FAILURE() << "Conversion constructor called";
|
ADD_FAILURE() << "Conversion constructor called";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user