STYLE: consistent use of wordHashSet instead of HashSet<word>

- the wordHashSet typedef is always available when HashSet has been
  included.

- use default HashTable key (word) instead of explicitly mentioning it
This commit is contained in:
Mark Olesen
2018-02-22 11:19:47 +01:00
parent f95f8bf512
commit 37e248c74b
54 changed files with 108 additions and 117 deletions

View File

@ -101,11 +101,11 @@ void Foam::helpTypes::helpBoundary::execute
}
else if (args.found("constraint"))
{
HashSet<word> constraintTypes(fvPatch::constraintTypes());
wordHashSet constraintTypes(fvPatch::constraintTypes());
Info<< "Constraint types:" << nl;
forAllConstIter(HashSet<word>, constraintTypes, iter)
for (const word& cType : constraintTypes)
{
Info<< " " << iter.key() << nl;
Info<< " " << cType << nl;
}
Info<< endl;
}