mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: 'template' keyword for specialization with '.' or '->'
This commit is contained in:
@ -109,11 +109,9 @@ void Foam::cellMotionFvPatchField<Type>::updateCoeffs()
|
||||
pfName.replace("cell", "point");
|
||||
|
||||
const GeometricField<Type, pointPatchField, pointMesh>& pointMotion =
|
||||
this->db().objectRegistry::
|
||||
lookupObject<GeometricField<Type, pointPatchField, pointMesh> >
|
||||
(
|
||||
pfName
|
||||
);
|
||||
this->db().objectRegistry::template
|
||||
lookupObject<GeometricField<Type, pointPatchField, pointMesh> >
|
||||
(pfName);
|
||||
|
||||
forAll(p, i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user