summaryrefslogtreecommitdiff
path: root/src/core/math_func.hpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-26 16:01:29 +0000
committerskidd13 <skidd13@openttd.org>2007-11-26 16:01:29 +0000
commit734b22e070ca1dac717780d0a4d1ca962c4ddfbf (patch)
tree14935bc71c99622f02f216f13d5e4c712b21ce20 /src/core/math_func.hpp
parentd736a04b59a202023c0c72ff1d2347c0eb83ecff (diff)
downloadopenttd-734b22e070ca1dac717780d0a4d1ca962c4ddfbf.tar.xz
(svn r11526) -Codechange: Rename the function delta fitting to the naming style
Diffstat (limited to 'src/core/math_func.hpp')
-rw-r--r--src/core/math_func.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/math_func.hpp b/src/core/math_func.hpp
index a7f07d614..82a4799ac 100644
--- a/src/core/math_func.hpp
+++ b/src/core/math_func.hpp
@@ -175,7 +175,7 @@ static inline int32 ClampToI32(const int64 a)
* @param b The second scalar
* @return The absolute difference between the given scalars
*/
-template <typename T> static inline T delta(const T a, const T b) {
+template <typename T> static inline T Delta(const T a, const T b) {
return (a < b) ? b - a : a - b;
}