COMP: 'template' keyword for specialization with '.' or '->'

This commit is contained in:
Mark Olesen
2010-12-17 15:24:15 +01:00
parent 5f9d20e1d8
commit 90ea219f77
21 changed files with 151 additions and 70 deletions

View File

@ -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)
{