diff options
Diffstat (limited to 'src/opts')
-rw-r--r-- | src/opts/SkNx_neon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opts/SkNx_neon.h b/src/opts/SkNx_neon.h index 1552e0c181..020c402049 100644 --- a/src/opts/SkNx_neon.h +++ b/src/opts/SkNx_neon.h @@ -267,7 +267,7 @@ public: return vminvq_f32(fVec); #else SkNx min = Min(*this, vrev64q_f32(fVec)); - return std::min(min[0], min[2]); + return SkTMin(min[0], min[2]); #endif } @@ -276,7 +276,7 @@ public: return vmaxvq_f32(fVec); #else SkNx max = Max(*this, vrev64q_f32(fVec)); - return std::max(max[0], max[2]); + return SkTMax(max[0], max[2]); #endif } |