Use std::min and std::max instead.
Signed-off-by: Sage Weil <sage@redhat.com>
#include <type_traits>
-#ifndef MIN
-#define MIN(a,b) ((a) < (b) ? (a):(b))
-#endif
-
-#ifndef MAX
-#define MAX(a,b) ((a) > (b) ? (a):(b))
-#endif
-
#ifndef DIV_ROUND_UP
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
#endif
* flat_map and btree_map).
*/
-#ifndef MIN
-# define MIN(a,b) ((a)<=(b) ? (a):(b))
-#endif
-#ifndef MAX
-# define MAX(a,b) ((a)>=(b) ? (a):(b))
-#endif
-
-
template<typename T, typename Map = std::map<T,T>>
class interval_set {
public: