BUG: polyMeshAdder: setSize of a DynamicList should be setCapacity
This commit is contained in:
parent
e2688c4e88
commit
e167c4f86d
@ -69,7 +69,7 @@ void Foam::polyMeshAdder::append
|
||||
DynamicList<label>& dynLst
|
||||
)
|
||||
{
|
||||
dynLst.setSize(dynLst.size() + lst.size());
|
||||
dynLst.setCapacity(dynLst.size() + lst.size());
|
||||
|
||||
forAll(lst, i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user