mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user