STYLE: use sortedToc() instead of toc() followed by sort()

This commit is contained in:
Mark Olesen
2018-07-25 10:29:20 +02:00
parent 8610a95ad8
commit a6b84927e4
4 changed files with 10 additions and 29 deletions

View File

@ -1049,8 +1049,7 @@ void Foam::faMeshDecomposition::decomposeMesh()
}
// Grab the result from the hash list
globallySharedPoints_ = gSharedPoints.toc();
sort(globallySharedPoints_);
globallySharedPoints_ = gSharedPoints.sortedToc();
}