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:
@ -93,7 +93,7 @@ Foam::autoPtr<Foam::functionObject> Foam::functionObject::New
|
||||
const auto finder =
|
||||
dict.csearchCompat("libs", {{"functionObjectLibs", 1612}});
|
||||
|
||||
if (finder.found())
|
||||
if (finder.good())
|
||||
{
|
||||
runTime.libs().open
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user