Skip to content

Commit

Permalink
initialize boolean grid.painted
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jul 4, 2012
1 parent ff27185 commit dc81316
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/mapnik/grid/grid.hpp
Expand Up @@ -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] = "";
Expand All @@ -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] = "";
}

Expand Down

0 comments on commit dc81316

Please sign in to comment.