Skip to content
Snippets Groups Projects
Commit 58380bd9 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: do not use (defunct) HashTable iterator pointer deference

parent 8691fdc8
Branches
Tags
No related merge requests found
......@@ -135,7 +135,7 @@ Foam::functionObjects::adiosWrite::readData(const fileName& bpFile)
forAllConstIters(obr, iter)
{
Info<< iter.key() << " " << iter->type() << nl;
Info<< iter.key() << " " << (*iter)->type() << nl;
}
}
......
......@@ -191,9 +191,10 @@ Foam::label Foam::functionObjects::adiosWrite::writeClouds
forAllConstIters(cloudObjects, iter)
{
if (!regCtrl.acceptCloudObject(*(iter.val())))
const cloud* cldPtr = iter.val();
if (!regCtrl.acceptCloudObject(*cldPtr))
{
pruned.insert(iter->name());
pruned.insert(cldPtr->name());
}
}
......
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