From 718d3a4e66a4716a021b74bf747b7dd79f9fb0a6 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 5 Jul 2012 14:25:32 -0700 Subject: [PATCH] switch grid member intialization order to avoid compiler warning --- include/mapnik/grid/grid.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/mapnik/grid/grid.hpp b/include/mapnik/grid/grid.hpp index e748a334e..07a45bd09 100644 --- a/include/mapnik/grid/grid.hpp +++ b/include/mapnik/grid/grid.hpp @@ -77,8 +77,9 @@ public: key_(key), data_(width,height), resolution_(resolution), - id_name_("__id__"), - painted_(false) { + painted_(false), + id_name_("__id__") + { // this only works if each datasource's // feature count starts at 1 f_keys_[0] = ""; @@ -90,8 +91,8 @@ public: key_(rhs.key_), data_(rhs.data_), resolution_(rhs.resolution_), - id_name_("__id__"), - painted_(rhs.painted_) { + painted_(rhs.painted_), + id_name_("__id__") { f_keys_[0] = ""; }