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

@ -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];