Remove redundant typename keyword usage (#25901)

This commit is contained in:
matheusvb3 authored and GitHub committed 2026-01-31 23:59:59 +01:00
1 parent 9ec3dfd821
commit ff72e07385
11 files changed
+31 -31

No files matched your search

+1 -1
View File
@@ -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)