From 0b8439c8d26eab20a666ce037d8e437089a98bd0 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 24 Aug 2014 16:37:39 -0700 Subject: [PATCH] fix inialization order --- include/mapnik/markers_placements/line.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mapnik/markers_placements/line.hpp b/include/mapnik/markers_placements/line.hpp index 38d68f380..1ac2d353b 100644 --- a/include/mapnik/markers_placements/line.hpp +++ b/include/mapnik/markers_placements/line.hpp @@ -38,11 +38,12 @@ class markers_line_placement : public markers_point_placement public: markers_line_placement(Locator &locator, Detector &detector, markers_placement_params const& params) : markers_point_placement(locator, detector, params), - marker_width_((params.size * params.tr).width()), last_x(0.0), last_y(0.0), next_x(0.0), next_y(0.0), + spacing_(0.0), + marker_width_((params.size * params.tr).width()), error_(0.0), spacing_left_(0.0), marker_nr_(0)