merge, explicit, ( should be it)
This commit is contained in:
parent
88311784e4
commit
c56ba73a23
@ -761,7 +761,7 @@ namespace convertible_from_any {
|
||||
struct ConvertibleFromAny {
|
||||
ConvertibleFromAny(int a_value) : value(a_value) {}
|
||||
template <typename T>
|
||||
explicit ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||
ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||
ADD_FAILURE() << "Conversion constructor called";
|
||||
}
|
||||
int value;
|
||||
|
Loading…
Reference in New Issue
Block a user