From e653f4cc4c8891486cecf3132c504248e2c6d4f9 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 6 Jul 2017 16:01:06 +0200 Subject: [PATCH] make constructor explicit to avoid C2664 error with VS2017. --- include/mapnik/transform/transform_expression.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/transform/transform_expression.hpp b/include/mapnik/transform/transform_expression.hpp index 1b6649f42..18c5ac092 100644 --- a/include/mapnik/transform/transform_expression.hpp +++ b/include/mapnik/transform/transform_expression.hpp @@ -171,7 +171,7 @@ struct transform_node : base_() {} template - transform_node(T const& val) + explicit transform_node(T const& val) : base_(val) {} template