mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide basic hooks for alternative List/Matrix allocators
- include "contiguous.H" in ListPolicy, which makes it available whenever UList.H has been included ENH: return plain List instead of shrinking the DynamicList
This commit is contained in:
@ -256,7 +256,7 @@ labelList getNonRegionCells(const labelList& cellRegion, const label regionI)
|
||||
nonRegionCells.append(celli);
|
||||
}
|
||||
}
|
||||
return nonRegionCells.shrink();
|
||||
return labelList(std::move(nonRegionCells));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user