Removed explicit from constructor from underlying value type.

This commit is contained in:
John Wellbelove 2017-12-04 10:10:56 +00:00
parent 55995e4c31
commit 71b963d404

View File

@ -64,7 +64,7 @@ namespace etl
}
//*********************************************************************
explicit type_def(TValue value_)
type_def(TValue value_)
: value(value_)
{
}
@ -237,11 +237,18 @@ namespace etl
return *this;
}
//*********************************************************************
type_def& operator =(TValue rhs)
{
value = rhs;
return *this;
}
//*********************************************************************
type_def& operator =(const type_def& rhs)
{
value = rhs.value;
return *this;
value = rhs.value;
return *this;
}
//*********************************************************************