Skip to content
Snippets Groups Projects
Commit 975afa3a authored by andy's avatar andy
Browse files

BUG: Corrected cloudInfo function object access to cloud names

parent 90be0ef2
No related merge requests found
......@@ -74,10 +74,10 @@ void Foam::cloudInfo::read(const dictionary& dict)
functionObjectFile::resetNames(dict.lookup("clouds"));
Info<< type() << ": ";
if (names_.size())
if (names().size())
{
Info<< "applying to clouds:" << nl;
forAllConstIter(wordHashSet, names_, iter)
forAllConstIter(wordHashSet, names(), iter)
{
Info<< " " << iter.key() << nl;
}
......@@ -110,7 +110,7 @@ void Foam::cloudInfo::write()
functionObjectFile::write();
label i = 0;
forAllConstIter(wordHashSet, names_, iter)
forAllConstIter(wordHashSet, names(), iter)
{
const word& cloudName = iter.key();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment