From 9945822cc730fe56d1ea6b66d9d4594a617822a7 Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 4 Dec 2013 15:14:53 +0000 Subject: [PATCH] make apply() static and disable copy ctor/assignment --- include/mapnik/evaluate_global_attributes.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() ) {