diff options
author | Hownaer <franzi.moos@googlemail.com> | 2014-08-28 18:58:58 +0200 |
---|---|---|
committer | Hownaer <franzi.moos@googlemail.com> | 2014-08-28 18:58:58 +0200 |
commit | c2260addf4ede896695ad1212592912b2f3e1ed4 (patch) | |
tree | b4e4943d4b3df7febf9d53a1ec5d54b61298ca0b /src/Defines.h | |
parent | Fixed anvil placing. (diff) | |
parent | Merge pull request #1323 from mc-server/CraftingFixes (diff) | |
download | cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.gz cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.bz2 cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.lz cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.xz cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.tar.zst cuberite-c2260addf4ede896695ad1212592912b2f3e1ed4.zip |
Diffstat (limited to 'src/Defines.h')
-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); } |