|
|
|
@@ -3088,7 +3088,7 @@ public: |
|
|
|
static int compareElements (const ElementType first, |
|
|
|
const ElementType second) throw() |
|
|
|
{ |
|
|
|
return first - second; |
|
|
|
return (first > second) - (second < first); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
@@ -3114,9 +3114,7 @@ public: |
|
|
|
static int compareElements (const ElementType first, |
|
|
|
const ElementType second) throw() |
|
|
|
{ |
|
|
|
return (first < second) ? -1 |
|
|
|
: ((first == second) ? 0 |
|
|
|
: 1); |
|
|
|
return (first > second) - (second < first); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|