diff --git a/include/mapnik/evaluate_global_attributes.hpp b/include/mapnik/evaluate_global_attributes.hpp index 006022470..dffdcf7cb 100644 --- a/include/mapnik/evaluate_global_attributes.hpp +++ b/include/mapnik/evaluate_global_attributes.hpp @@ -182,7 +182,7 @@ struct assign_value : boost::static_visitor<> }; } -struct evaluate_global_attributes +struct evaluate_global_attributes : mapnik::noncopyable { template struct evaluator : boost::static_visitor<> @@ -224,7 +224,7 @@ struct evaluate_global_attributes }; template - void apply(Map & m, Attributes const& attributes) + static void apply(Map & m, Attributes const& attributes) { for ( auto & val : m.styles() ) {