]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4547: remove unnecessary min() and max() functions
authorDan Eble <nine.fierce.ballads@gmail.com>
Sun, 9 Aug 2015 02:06:48 +0000 (22:06 -0400)
committerDan Eble <nine.fierce.ballads@gmail.com>
Fri, 14 Aug 2015 21:21:19 +0000 (17:21 -0400)
flower/include/compare.hh

index 0b398aa18c86e441166e9c4439cbefdefd9907dc..0ec1173951590cae858e21b6c3fb2a4859bf4ded 100644 (file)
     prefix ONE_OPERATOR (type, function, !=)                            \
     prefix ONE_OPERATOR (type, function, <)                             \
     prefix ONE_OPERATOR (type, function, <=)                            \
-    /* namespace std { */                                               \
-    prefix inline type max (type t1, type t2) { return (t1 > t2) ? t1 : t2; } \
-    prefix inline type min (type t1, type t2) { return (t1 < t2) ? t1 : t2; } \
-  /* } */                                                               \
   /* stupid fix to allow ; */                                           \
   prefix bool operator < (type t1, type t2)