mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
don't need shrink before List::transfer(DynamicList&) anymore
This commit is contained in:
@ -218,14 +218,8 @@ void Foam::edgeIntersections::intersectEdges
|
||||
|
||||
|
||||
// Done current edge. Transfer all data into *this
|
||||
currentIntersections.shrink();
|
||||
currentIntersectionTypes.shrink();
|
||||
|
||||
operator[](edgeI).transfer(currentIntersections);
|
||||
classification_[edgeI].transfer(currentIntersectionTypes);
|
||||
|
||||
currentIntersections.clear();
|
||||
currentIntersectionTypes.clear();
|
||||
}
|
||||
|
||||
if (debug)
|
||||
@ -651,7 +645,7 @@ Foam::label Foam::edgeIntersections::removeDegenerates
|
||||
offsetPerturb
|
||||
(
|
||||
surf1,
|
||||
surf2,
|
||||
surf2,
|
||||
edgeI,
|
||||
rndGen,
|
||||
points1,
|
||||
|
||||
@ -38,7 +38,6 @@ void Foam::surfaceIntersection::transfer
|
||||
List<T>& lList
|
||||
)
|
||||
{
|
||||
dList.shrink();
|
||||
lList.transfer(dList);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user