Commit 9a7751e9 authored by Mark Olesen's avatar Mark Olesen
Browse files

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

parent d5fdd201
...@@ -102,7 +102,7 @@ void CrankNicolsonDdtScheme<Type>::DDt0Field<GeoField>::operator= ...@@ -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 ...@@ -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_
......
...@@ -164,10 +164,10 @@ class CrankNicolsonDdtScheme ...@@ -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_
......
...@@ -54,8 +54,7 @@ void Foam::DSMCCloud<ParcelType>::buildConstProps() ...@@ -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);
} }
} }
......
...@@ -429,7 +429,7 @@ void Foam::RBD::rigidBodyModel::write(Ostream& os) const ...@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment