make constructor explicit to avoid C2664 error with VS2017.
This commit is contained in:
parent
e08616aed3
commit
e653f4cc4c
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ struct transform_node
|
|||
: base_() {}
|
||||
|
||||
template <typename T>
|
||||
transform_node(T const& val)
|
||||
explicit transform_node(T const& val)
|
||||
: base_(val) {}
|
||||
|
||||
template <typename T>
|
||||
|
|
Loading…
Reference in a new issue