forked from rosebudai/OpenRCT2-Web
Remove redundant typename keyword usage (#25901)
This commit is contained in:
1 parent
9ec3dfd821
commit
ff72e07385
11 files changed
+31
-31
No files matched your search
@@ -358,7 +358,7 @@ private:
|
||||
|
||||
// Taken from http://en.cppreference.com/w/cpp/types/numeric_limits/epsilon
|
||||
template<class T>
|
||||
static typename std::enable_if<!std::numeric_limits<T>::is_integer, bool>::type AlmostEqual(T x, T y, int32_t ulp = 20)
|
||||
static std::enable_if<!std::numeric_limits<T>::is_integer, bool>::type AlmostEqual(T x, T y, int32_t ulp = 20)
|
||||
{
|
||||
// the machine epsilon has to be scaled to the magnitude of the values used
|
||||
// and multiplied by the desired precision in ULPs (units in the last place)
|
||||
|
||||
Reference in new issue
Block a user