From 46b359400050986c470ad74306c28f9bc8f18844 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 3 Apr 2012 22:19:36 +0100 Subject: [PATCH] + fix compilation with i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) --- include/mapnik/vertex_converters.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/mapnik/vertex_converters.hpp b/include/mapnik/vertex_converters.hpp index a5db00091..da5968254 100644 --- a/include/mapnik/vertex_converters.hpp +++ b/include/mapnik/vertex_converters.hpp @@ -102,7 +102,7 @@ struct converter_traits template static void setup(geometry_type & geom, Args & args) { - typename boost::mpl::at >::type const& box = boost::fusion::at_c<0>(args); + typename boost::mpl::at >::type box = boost::fusion::at_c<0>(args); geom.clip_box(box.minx(),box.miny(),box.maxx(),box.maxy()); } }; @@ -117,7 +117,7 @@ struct converter_traits template static void setup(geometry_type & geom, Args & args) { - typename boost::mpl::at >::type const& sym = boost::fusion::at_c<2>(args); + typename boost::mpl::at >::type sym = boost::fusion::at_c<2>(args); double scale_factor = 1.0; //FIXME stroke const& stroke_ = sym.get_stroke(); dash_array const& d = stroke_.get_dash_array(); @@ -141,7 +141,7 @@ struct converter_traits template static void setup(geometry_type & geom, Args & args) { - typename boost::mpl::at >::type const& sym = boost::fusion::at_c<2>(args); + typename boost::mpl::at >::type sym = boost::fusion::at_c<2>(args); stroke const& stroke_ = sym.get_stroke(); set_join_caps(stroke_,geom); geom.generator().miter_limit(4.0); // FIXME : make configurable @@ -160,7 +160,7 @@ struct converter_traits template static void setup(geometry_type & geom, Args & args) { - typename boost::mpl::at >::type const& box = boost::fusion::at_c<0>(args); + typename boost::mpl::at >::type box = boost::fusion::at_c<0>(args); geom.clip_box(box.minx(),box.miny(),box.maxx(),box.maxy()); } }; @@ -175,8 +175,8 @@ struct converter_traits template static void setup(geometry_type & geom, Args & args) { - typename boost::mpl::at >::type const& tr = boost::fusion::at_c<3>(args); - typename boost::mpl::at >::type const& prj_trans = boost::fusion::at_c<4>(args); + typename boost::mpl::at >::type tr = boost::fusion::at_c<3>(args); + typename boost::mpl::at >::type prj_trans = boost::fusion::at_c<4>(args); geom.set_proj_trans(prj_trans); geom.set_trans(tr); }