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:
@ -102,7 +102,7 @@ void changePatchID
|
||||
|
||||
|
||||
// Filter out the empty patches.
|
||||
void filterPatches(polyMesh& mesh, const HashSet<word>& addedPatchNames)
|
||||
void filterPatches(polyMesh& mesh, const wordHashSet& addedPatchNames)
|
||||
{
|
||||
const polyBoundaryMesh& patches = mesh.boundaryMesh();
|
||||
|
||||
@ -557,7 +557,7 @@ int main(int argc, char *argv[])
|
||||
// Read patch construct info from dictionary
|
||||
PtrList<dictionary> patchSources(dict.lookup("patches"));
|
||||
|
||||
HashSet<word> addedPatchNames;
|
||||
wordHashSet addedPatchNames;
|
||||
forAll(patchSources, addedI)
|
||||
{
|
||||
const dictionary& dict = patchSources[addedI];
|
||||
|
||||
Reference in New Issue
Block a user