update feature factory to work with new features
This commit is contained in:
parent
f4d3a536f2
commit
d65186106f
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue