diff options
author | madmaxoft <github@xoft.cz> | 2014-05-18 22:36:17 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-18 22:36:31 +0200 |
commit | e09a04a23aaa14598bff6692393f4187f59d3824 (patch) | |
tree | 6ad5362eaf050d1cf58fd7f4b660a0206f01e2b9 | |
parent | Merge pull request #998 from mc-server/StatManager (diff) | |
download | cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.gz cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.bz2 cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.lz cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.xz cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.zst cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.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 b0b209934..563fc308c 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -529,7 +529,7 @@ inline float GetSpecialSignf( float a_Val ) -template<class T> inline int 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); } |