Use std::min
and std::max
, not the misc
versions.
This commit is contained in:
12
lout/misc.hh
12
lout/misc.hh
@ -37,18 +37,6 @@ namespace lout {
|
||||
*/
|
||||
namespace misc {
|
||||
|
||||
template <class T> inline T min (T a, T b) { return a < b ? a : b; }
|
||||
template <class T> inline T max (T a, T b) { return a > b ? a : b; }
|
||||
|
||||
template <class T> inline T min (T a, T b, T c)
|
||||
{
|
||||
return (min (a, min (b, c)));
|
||||
}
|
||||
template <class T> inline T max (T a, T b, T c)
|
||||
{
|
||||
return (max (a, max (b, c)));
|
||||
}
|
||||
|
||||
extern const char *prgName;
|
||||
|
||||
void init (int argc, char *argv[]);
|
||||
|
Reference in New Issue
Block a user