Fixing build break on MSVC
This commit is contained in:
parent
0f790fa5a8
commit
aa14cc4285
@ -696,7 +696,7 @@ TEST(MatcherCastTest, FromSameType) {
|
|||||||
struct ConvertibleFromAny {
|
struct ConvertibleFromAny {
|
||||||
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