make apply() static and disable copy ctor/assignment
This commit is contained in:
parent
7eb84ad1ab
commit
9945822cc7
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ struct assign_value<expression_ptr,Attributes> : boost::static_visitor<>
|
|||
};
|
||||
|
||||
}
|
||||
struct evaluate_global_attributes
|
||||
struct evaluate_global_attributes : mapnik::noncopyable
|
||||
{
|
||||
template <typename Attributes>
|
||||
struct evaluator : boost::static_visitor<>
|
||||
|
@ -224,7 +224,7 @@ struct evaluate_global_attributes
|
|||
};
|
||||
|
||||
template <typename Attributes>
|
||||
void apply(Map & m, Attributes const& attributes)
|
||||
static void apply(Map & m, Attributes const& attributes)
|
||||
{
|
||||
for ( auto & val : m.styles() )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue