Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index 7f1011ed18fdf2abec2900d8b6f72803fecf7cee..7831fa9fee6e14778f467c74498784b0c2f57e7b 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -140,13 +140,6 @@ T Abs(T a) { |
} |
-// Returns the negative absolute value of its argument. |
-template <typename T> |
-T NegAbs(T a) { |
- return a < 0 ? a : -a; |
-} |
- |
- |
// TODO(svenpanne) Clean up the whole power-of-2 mess. |
inline int32_t WhichPowerOf2Abs(int32_t x) { |
return (x == kMinInt) ? 31 : WhichPowerOf2(Abs(x)); |