fixed double include

This commit is contained in:
Jeff Hill
2003-01-23 22:53:31 +00:00
parent 69c4fe707a
commit ca661479f8

View File

@@ -13,14 +13,19 @@
// the min() and max() macros
//
#ifndef tsMinMaxh
#define tsMinMaxh
template <class T>
inline const T & tsMax (const T &a, const T &b)
inline const T & tsMax ( const T & a, const T & b )
{
return (a>b) ? a : b;
return ( a > b ) ? a : b;
}
template <class T>
inline const T & tsMin (const T &a, const T &b)
inline const T & tsMin ( const T & a, const T & b )
{
return (a<b) ? a : b;
return ( a < b ) ? a : b;
}
#endif // tsMinMaxh