diff --git a/utils/svg2png/svg2png.cpp b/utils/svg2png/svg2png.cpp index 18b15e8e4..8484cf74d 100644 --- a/utils/svg2png/svg2png.cpp +++ b/utils/svg2png/svg2png.cpp @@ -102,7 +102,7 @@ struct main_marker_visitor pixfmt pixf(buf); renderer_base renb(pixf); - mapnik::box2d const& bbox = {0, 0, svg_width, svg_height}; + mapnik::box2d bbox = {0, 0, svg_width, svg_height}; // center the svg marker on '0,0' agg::trans_affine mtx = agg::trans_affine_translation(-0.5 * w, -0.5 * h); // Scale the image