initialize boolean grid.painted

This commit is contained in:
Dane Springmeyer 2012-07-04 14:15:44 -07:00
parent ff271853ce
commit dc813167c7

View file

@ -77,7 +77,8 @@ public:
key_(key), key_(key),
data_(width,height), data_(width,height),
resolution_(resolution), resolution_(resolution),
id_name_("__id__") { id_name_("__id__"),
painted_(false) {
// this only works if each datasource's // this only works if each datasource's
// feature count starts at 1 // feature count starts at 1
f_keys_[0] = ""; f_keys_[0] = "";
@ -89,7 +90,8 @@ public:
key_(rhs.key_), key_(rhs.key_),
data_(rhs.data_), data_(rhs.data_),
resolution_(rhs.resolution_), resolution_(rhs.resolution_),
id_name_("__id__") { id_name_("__id__"),
painted_(rhs.painted_) {
f_keys_[0] = ""; f_keys_[0] = "";
} }