From 8a8afda6ac3b94f4127d6e72db0ec0240f599ad2 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 28 Apr 2015 10:19:40 +0100 Subject: [PATCH] Bugfix: compiler error typename outside of template --- .../basic/basicSymmetry/basicSymmetryFvPatchScalarField.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/basic/basicSymmetry/basicSymmetryFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/basic/basicSymmetry/basicSymmetryFvPatchScalarField.C index 97bb0a32f..fc0670bd8 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/basicSymmetry/basicSymmetryFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/basicSymmetry/basicSymmetryFvPatchScalarField.C @@ -50,7 +50,7 @@ void basicSymmetryFvPatchField::evaluate(const Pstream::commsTypes) { // Local typedefs typedef scalar Type; - typedef typename outerProduct::type gradType; + typedef outerProduct::type gradType; typedef GeometricField gradFieldType; if (!updated()) @@ -140,7 +140,7 @@ tmp basicSymmetryFvPatchField::snGrad() const { // Local typedefs typedef vector Type; - typedef typename outerProduct::type gradType; + typedef outerProduct::type gradType; typedef GeometricField gradFieldType; vectorField nHat = this->patch().nf(); @@ -213,7 +213,7 @@ void basicSymmetryFvPatchField::evaluate(const Pstream::commsTypes) { // Local typedefs typedef vector Type; - typedef typename outerProduct::type gradType; + typedef outerProduct::type gradType; typedef GeometricField gradFieldType; if (!updated())