summaryrefslogtreecommitdiff
path: root/src/helpers.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers.hpp')
-rw-r--r--src/helpers.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/helpers.hpp b/src/helpers.hpp
index cb9bd1dcc..3edbcf3b8 100644
--- a/src/helpers.hpp
+++ b/src/helpers.hpp
@@ -39,9 +39,6 @@ template<typename T> void Swap(T& a, T& b)
}
-/** returns the (absolute) difference between two (scalar) variables */
-template <typename T> static inline T delta(T a, T b) { return a < b ? b - a : a - b; }
-
/** Some enums need to have allowed incrementing (i.e. StationClassID) */
#define DECLARE_POSTFIX_INCREMENT(type) \
FORCEINLINE type operator ++(type& e, int) \