COMP: incorrect specialization namespace

This commit is contained in:
Mark Olesen
2019-11-26 07:39:52 +01:00
committed by Andrew Heather
parent 925b9af20d
commit 29ccc00c7d

View File

@ -29,17 +29,19 @@ License
// * * * * * * * * * * * * Template Specializations * * * * * * * * * * * * //
namespace Foam
{
namespace expressions
{
#undef defineExpressionMethod
#define defineExpressionMethod(Type, Var) \
template<> inline const Type& \
expressions::exprResult::singleValue::get<Type>() const \
template<> \
inline const Type& exprResult::singleValue::get<Type>() const \
{ \
return Var; \
} \
\
template<> inline const Type& \
expressions::exprResult::singleValue::set(const Type& val) \
template<> \
inline const Type& exprResult::singleValue::set(const Type& val) \
{ \
Var = val; \
return Var; \
@ -53,7 +55,9 @@ namespace Foam
defineExpressionMethod(sphericalTensor, sphTensor_);
#undef defineExpressionMethod
}
} // End namespace expressions
} // End namespace Foam
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //