Commit 0856fed3 authored by mark's avatar mark

STYLE: use updated functionality from hashedWordList

parent 7fa8dfca
......@@ -119,13 +119,10 @@ bool Foam::adiosWrite::read(const dictionary& dict)
{
regions_.clear();
// all known regions
// - in sorted order for consistency, hashed for quick lookup
hashedWordList regionNames;
{
SortableList<word> sorted(time_.names<fvMesh>());
regionNames.transfer(sorted);
}
// All known regions
// - sorted order for consistency, hashed for quick lookup
hashedWordList regionNames(time_.names<fvMesh>());
regionNames.sort();
// Info<< "Known regions: " << regionNames << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment