mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: check iterator validity with good() instead of found()
- aligns better with other container checks
This commit is contained in:
@ -353,7 +353,7 @@ int main(int argc, char *argv[])
|
||||
/// Currently unused
|
||||
/// List<vectorField> dirs(nTracks);
|
||||
/// const auto Uiter = vectorFields.cfind(UName);
|
||||
/// if (Uiter.found())
|
||||
/// if (Uiter.good())
|
||||
/// {
|
||||
/// const auto& UTracks = *Uiter;
|
||||
/// forAll(UTracks, tracki)
|
||||
|
||||
Reference in New Issue
Block a user