use boost make_shared

This commit is contained in:
Dane Springmeyer 2012-10-02 14:12:15 -07:00
parent f635a2bd1e
commit 0b9ebe21dd

View file

@ -489,7 +489,7 @@ feature_ptr gdal_featureset::get_feature(mapnik::query const& q)
image.width(), image.height(), GDT_Byte, 4, 4 * image.width());
}
feature->set_raster(mapnik::raster_ptr(new mapnik::raster(intersect, image)));
feature->set_raster(boost::make_shared<mapnik::raster>(intersect, image));
}
return feature;
}