Commit b5785926 authored by Henry Weller's avatar Henry Weller
Browse files

tmp: Removed temporary global functions

parent f303f2a2
......@@ -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;
}
// ************************************************************************* //
......@@ -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;
}
// ************************************************************************* //
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