mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: check iterator validity with good() instead of found()
- aligns better with other container checks
This commit is contained in:
@ -116,7 +116,7 @@ HashTable<wordList> extractPatchGroups(const dictionary& boundaryDict)
|
||||
for (const word& groupName : groupNames)
|
||||
{
|
||||
auto groupIter = groupToPatch.find(groupName);
|
||||
if (groupIter.found())
|
||||
if (groupIter.good())
|
||||
{
|
||||
(*groupIter).append(patchName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user