COMP: resolve template qualification and other issues for clang-5.0.1

This commit is contained in:
Mark Olesen
2018-01-22 15:13:39 +01:00
parent 479b8e9d01
commit 038bb40a79
4 changed files with 6 additions and 6 deletions

View File

@ -102,7 +102,7 @@ void CrankNicolsonDdtScheme<Type>::DDt0Field<GeoField>::operator=
template<class Type> template<class Type>
template<class GeoField> template<class GeoField>
CrankNicolsonDdtScheme<Type>::DDt0Field<GeoField>& typename CrankNicolsonDdtScheme<Type>::template DDt0Field<GeoField>&
CrankNicolsonDdtScheme<Type>::ddt0_ CrankNicolsonDdtScheme<Type>::ddt0_
( (
const word& name, const word& name,
@ -192,6 +192,7 @@ bool CrankNicolsonDdtScheme<Type>::evaluate
return ddt0.timeIndex() != mesh().time().timeIndex(); return ddt0.timeIndex() != mesh().time().timeIndex();
} }
template<class Type> template<class Type>
template<class GeoField> template<class GeoField>
scalar CrankNicolsonDdtScheme<Type>::coef_ scalar CrankNicolsonDdtScheme<Type>::coef_

View File

@ -164,10 +164,10 @@ class CrankNicolsonDdtScheme
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct //- Disallow default bitwise copy construct
CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&); CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&) = delete;
//- Disallow default bitwise assignment //- Disallow default bitwise assignment
void operator=(const CrankNicolsonDdtScheme&); void operator=(const CrankNicolsonDdtScheme&) = delete;
template<class GeoField> template<class GeoField>
DDt0Field<GeoField>& ddt0_ DDt0Field<GeoField>& ddt0_

View File

@ -54,8 +54,7 @@ void Foam::DSMCCloud<ParcelType>::buildConstProps()
const dictionary& molDict(moleculeProperties.subDict(id)); const dictionary& molDict(moleculeProperties.subDict(id));
constProps_[i] = constProps_[i] = typename ParcelType::constantProperties(molDict);
typename ParcelType::constantProperties::constantProperties(molDict);
} }
} }

View File

@ -429,7 +429,7 @@ void Foam::RBD::rigidBodyModel::write(Ostream& os) const
forAll(restraints_, ri) forAll(restraints_, ri)
{ {
const word& restraintType(restraints_[ri].type()); // const word& restraintType(restraints_[ri].type());
os.beginBlock(restraints_[ri].name()); os.beginBlock(restraints_[ri].name());