tmp: Removed temporary global functions

This commit is contained in:
Henry Weller
2016-12-03 11:44:18 +00:00
parent 2f9e72b53f
commit eebac17c1e
2 changed files with 0 additions and 32 deletions

View File

@ -384,20 +384,4 @@ inline void Foam::tmp<T>::operator=(const tmp<T>& t)
}
//- Return the const reference of the non-const reference argument
template<class T>
inline const T& Const(T& t)
{
return t;
}
//- Return the const reference of the non-const rvalue reference argument
template<class T>
inline const T& Const(T&& t)
{
return t;
}
// ************************************************************************* //

View File

@ -301,20 +301,4 @@ inline void Foam::tmpNrc<T>::operator=(const tmpNrc<T>& t)
}
//- Return the const reference of the non-const reference argument
template<class T>
inline const T& Const(T& t)
{
return t;
}
//- Return the const reference of the non-const rvalue reference argument
template<class T>
inline const T& Const(T&& t)
{
return t;
}
// ************************************************************************* //