Commit 58380bd9 authored by Mark Olesen's avatar Mark Olesen

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

parent 8691fdc8
......@@ -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());
}
}
......
Markdown is supported
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