fixed double include
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user