Merge branch 'master' of github.com:mapnik/mapnik
This commit is contained in:
commit
2ee6c9aca1
2 changed files with 2 additions and 1 deletions
|
@ -195,6 +195,7 @@ public:
|
|||
{
|
||||
initialSize_ = size;
|
||||
unsigned total_size = usedPool_.size() + unusedPool_.size();
|
||||
// ensure we don't have ghost obj's in the pool.
|
||||
if (total_size < initialSize_)
|
||||
{
|
||||
unsigned grow_size = initialSize_ - total_size ;
|
||||
|
|
|
@ -122,7 +122,7 @@ public:
|
|||
|
||||
if (itr != pools_.end())
|
||||
{
|
||||
itr->second->set_max_size(initialSize);
|
||||
itr->second->set_initial_size(initialSize);
|
||||
itr->second->set_max_size(maxSize);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue