update feature factory to work with new features

This commit is contained in:
Artem Pavlenko 2012-01-12 09:32:21 +00:00
parent 500bac1cf8
commit a846bc0160

View file

@ -34,11 +34,11 @@ namespace mapnik
{
struct feature_factory
{
static boost::shared_ptr<Feature> create (int fid)
static boost::shared_ptr<Feature> create (context_ptr const& ctx, int fid)
{
//return boost::allocate_shared<Feature>(boost::pool_allocator<Feature>(),fid);
//return boost::allocate_shared<Feature>(boost::fast_pool_allocator<Feature>(),fid);
return boost::make_shared<Feature>(fid);
return boost::make_shared<Feature>(ctx,fid);
}
};
}