aboutsummaryrefslogtreecommitdiff
path: root/src/jtutil/util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtutil/util.hh')
-rw-r--r--src/jtutil/util.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtutil/util.hh b/src/jtutil/util.hh
index fa46f70..bdc4f86 100644
--- a/src/jtutil/util.hh
+++ b/src/jtutil/util.hh
@@ -20,8 +20,8 @@ inline int is_odd (int i) { return (i & 0x1); }
//
// min/max/absolute value template
-// FIXME: <cmath> puts this in std::, but older g++ versions
-// (which don't fully implement namespaces) get confused
+// FIXME: <algorithm> is supposed to have min/max, but these are
+// broken on too many platforms (eg older gcc versions)
//
template <typename fp>
inline fp min(fp x, fp y) { return (x < y) ? x : y; }