mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Fixing build break on MSVC
This commit is contained in:
parent
0f790fa5a8
commit
aa14cc4285
@ -696,7 +696,7 @@ TEST(MatcherCastTest, FromSameType) {
|
||||
struct ConvertibleFromAny {
|
||||
ConvertibleFromAny(int a_value) : value(a_value) {}
|
||||
template <typename T>
|
||||
ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||
explicit ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||
ADD_FAILURE() << "Conversion constructor called";
|
||||
}
|
||||
int value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user