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=
template<class Type>
template<class GeoField>
CrankNicolsonDdtScheme<Type>::DDt0Field<GeoField>&
typename CrankNicolsonDdtScheme<Type>::template DDt0Field<GeoField>&
CrankNicolsonDdtScheme<Type>::ddt0_
(
const word& name,
......@@ -192,6 +192,7 @@ bool CrankNicolsonDdtScheme<Type>::evaluate
return ddt0.timeIndex() != mesh().time().timeIndex();
}
template<class Type>
template<class GeoField>
scalar CrankNicolsonDdtScheme<Type>::coef_
......
......@@ -164,10 +164,10 @@ class CrankNicolsonDdtScheme
// Private Member Functions
//- Disallow default bitwise copy construct
CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&);
CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&) = delete;
//- Disallow default bitwise assignment
void operator=(const CrankNicolsonDdtScheme&);
void operator=(const CrankNicolsonDdtScheme&) = delete;
template<class GeoField>
DDt0Field<GeoField>& ddt0_
......
......@@ -54,8 +54,7 @@ void Foam::DSMCCloud<ParcelType>::buildConstProps()
const dictionary& molDict(moleculeProperties.subDict(id));
constProps_[i] =
typename ParcelType::constantProperties::constantProperties(molDict);
constProps_[i] = typename ParcelType::constantProperties(molDict);
}
}
......
......@@ -429,7 +429,7 @@ void Foam::RBD::rigidBodyModel::write(Ostream& os) const
forAll(restraints_, ri)
{
const word& restraintType(restraints_[ri].type());
// const word& restraintType(restraints_[ri].type());
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