summaryrefslogtreecommitdiffstats
path: root/external/skia/c++20.patch.0
blob: 167c8d89c92d00fa940da1d13d8c676868142989 (plain)
1
2
3
4
5
6
7
8
9
10
--- src/core/SkVM.h
+++ src/core/SkVM.h
@@ -909,6 +909,7 @@
     static inline F32 max(float x, F32  y) { return y->max(x,y); }
 
     static inline I32 operator==(F32   x, F32a y) { return x->eq(x,y); }
+    static inline I32 operator==(F32   x, float y) { return x->eq(x,y); }
     static inline I32 operator==(float x, F32  y) { return y->eq(x,y); }
     static inline I32 eq_op(float x, F32  y) { return y->eq(x,y); }