merge, explicit, ( should be it)

This commit is contained in:
Gennadiy Civil 2018-04-18 11:05:00 -04:00
parent 88311784e4
commit c56ba73a23

View File

@ -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;