diff options
author | Mattes D <github@xoft.cz> | 2014-08-28 15:58:48 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-28 15:58:48 +0200 |
commit | 271c8c0d3246749087f9772df31896d93f2cb9f3 (patch) | |
tree | 996deeecb3fbf49f78ada88cea090ca2586fcbee /src/Defines.h | |
parent | Merge remote-tracking branch 'origin/master' into CraftingFixes (diff) | |
download | cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.gz cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.bz2 cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.lz cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.xz cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.zst cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Defines.h b/src/Defines.h index 0981077c4..78c58034e 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -528,7 +528,7 @@ inline float GetSpecialSignf( float a_Val) -template<class T> inline T Diff(T a_Val1, T a_Val2) +template <class T> inline T Diff(T a_Val1, T a_Val2) { return std::abs(a_Val1 - a_Val2); } |