diff options
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 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); } |