diff options
author | Mattes D <github@xoft.cz> | 2014-08-28 16:35:56 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-28 16:35:56 +0200 |
commit | e931b649ac7915de1326d1dc124503383d82d3cf (patch) | |
tree | 3065edcd8277ee6f375ee433498fd6f6a67fe620 /src/Defines.h | |
parent | Fixed a typo. (diff) | |
parent | Final template keyword style fix. (diff) | |
download | cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.gz cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.bz2 cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.lz cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.xz cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.zst cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.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); } |