Permalink
Browse files

initialize boolean grid.painted

  • Loading branch information...
1 parent ff27185 commit dc813167c7c1e3b03d11f84daf5b80467978500a Dane Springmeyer committed Jul 4, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 include/mapnik/grid/grid.hpp
@@ -77,7 +77,8 @@ class MAPNIK_DECL hit_grid
key_(key),
data_(width,height),
resolution_(resolution),
- id_name_("__id__") {
+ id_name_("__id__"),
+ painted_(false) {
// this only works if each datasource's
// feature count starts at 1
f_keys_[0] = "";
@@ -89,7 +90,8 @@ class MAPNIK_DECL hit_grid
key_(rhs.key_),
data_(rhs.data_),
resolution_(rhs.resolution_),
- id_name_("__id__") {
+ id_name_("__id__"),
+ painted_(rhs.painted_) {
f_keys_[0] = "";
}

0 comments on commit dc81316

Please sign in to comment.