mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
make constructor explicit to avoid C2664 error with VS2017.
This commit is contained in:
parent
e08616aed3
commit
e653f4cc4c
@ -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…
x
Reference in New Issue
Block a user