mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-22 11:56:05 +08:00
Removed explicit from constructor from underlying value type.
This commit is contained in:
parent
55995e4c31
commit
71b963d404
@ -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;
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user