mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: use auto + cfind for constructor tables
This commit is contained in:
@ -103,8 +103,8 @@ Foam::tmp<Foam::faPatchField<Type>> Foam::faPatchField<Type>::NewCalculatedType
|
||||
const faPatchField<Type2>& pf
|
||||
)
|
||||
{
|
||||
typename patchConstructorTable::iterator patchTypeCstrIter =
|
||||
patchConstructorTablePtr_->find(pf.patch().type());
|
||||
auto patchTypeCstrIter =
|
||||
patchConstructorTablePtr_->cfind(pf.patch().type());
|
||||
|
||||
if (patchTypeCstrIter.found())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user