From 5ad3ec92e63c0d77c55a885393cd7f1e9d716fd1 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Thu, 27 Oct 2011 20:58:33 +0100 Subject: [PATCH] return by value --- include/mapnik/attribute.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/attribute.hpp b/include/mapnik/attribute.hpp index 62b7a2a75..d4172ab9c 100644 --- a/include/mapnik/attribute.hpp +++ b/include/mapnik/attribute.hpp @@ -39,7 +39,7 @@ struct attribute : name_(name) {} template - V const& value(F const& f) const + V value(F const& f) const { typedef typename F::const_iterator const_iterator; const_iterator itr = f.find(name_);