mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
DEFEATURE: pointer dereferencing for HashTable iterator
- this largely reverts3f0f218d88and4ee65d12c4. Consistent addressing with support for wrapped pointer types (eg, autoPtr, std::unique_ptr) has proven to be less robust than desired. Thus rescind HashTable iterator '->' dereferencing (from APR-2019).
This commit is contained in:
committed by
Andrew Heather
parent
fc461a1cc6
commit
b6bf9129f6
@ -73,8 +73,8 @@ void Foam::vtkPVFoam::convertVolFields()
|
||||
Info<< "<beg> " << FUNCTION_NAME << nl;
|
||||
forAllConstIters(objects, iter)
|
||||
{
|
||||
Info<< " " << iter->name()
|
||||
<< " == " << iter->objectPath() << nl;
|
||||
Info<< " " << (*iter)->name()
|
||||
<< " == " << (*iter)->objectPath() << nl;
|
||||
}
|
||||
printMemory();
|
||||
}
|
||||
@ -149,8 +149,8 @@ void Foam::vtkPVFoam::convertPointFields()
|
||||
Info<< "<beg> convert volume -> point fields" << nl;
|
||||
forAllConstIters(objects, iter)
|
||||
{
|
||||
Info<< " " << iter->name()
|
||||
<< " == " << iter->objectPath() << nl;
|
||||
Info<< " " << (*iter)->name()
|
||||
<< " == " << (*iter)->objectPath() << nl;
|
||||
}
|
||||
printMemory();
|
||||
}
|
||||
@ -205,8 +205,8 @@ void Foam::vtkPVFoam::convertAreaFields()
|
||||
Info<< "<beg> " << FUNCTION_NAME << nl;
|
||||
forAllConstIters(objects, iter)
|
||||
{
|
||||
Info<< " " << iter->name()
|
||||
<< " == " << iter->objectPath() << nl;
|
||||
Info<< " " << (*iter)->name()
|
||||
<< " == " << (*iter)->objectPath() << nl;
|
||||
}
|
||||
printMemory();
|
||||
}
|
||||
@ -282,8 +282,8 @@ void Foam::vtkPVFoam::convertLagrangianFields()
|
||||
Info<< "converting OpenFOAM lagrangian fields" << nl;
|
||||
forAllConstIters(objects, iter)
|
||||
{
|
||||
Info<< " " << iter->name()
|
||||
<< " == " << iter->objectPath() << nl;
|
||||
Info<< " " << (*iter)->name()
|
||||
<< " == " << (*iter)->objectPath() << nl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user