mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use HashTable iterator 'val()' method instead of 'object()'
This commit is contained in:
@ -112,7 +112,7 @@ int main()
|
||||
Info<< "\nerase table2 by iterator" << nl;
|
||||
forAllIters(table2, iter)
|
||||
{
|
||||
Info<< "erasing " << iter.key() << " => " << iter.object() << " ... ";
|
||||
Info<< "erasing " << iter.key() << " => " << iter.val() << " ... ";
|
||||
table2.erase(iter);
|
||||
Info<< "erased" << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user