don't forget to init context_ptr

This commit is contained in:
Artem Pavlenko 2012-01-16 13:18:00 -05:00
parent 95a2f49895
commit b380462ce4

View file

@ -50,6 +50,7 @@ raster_featureset<LookupPolicy>::raster_featureset(LookupPolicy const& policy,
curIter_(policy_.begin()), curIter_(policy_.begin()),
endIter_(policy_.end()) endIter_(policy_.end())
{ {
ctx_ = boost::make_shared<mapnik::context>();
} }
template <typename LookupPolicy> template <typename LookupPolicy>