Index: src/core/SkNx.h |
diff --git a/src/core/SkNx.h b/src/core/SkNx.h |
index 0f5aa829dfc99a5c271897d2e6bc97c55904b663..d968cad19f6c687b6ef41720425dbe22ddb1fbe2 100644 |
--- a/src/core/SkNx.h |
+++ b/src/core/SkNx.h |
@@ -260,17 +260,6 @@ protected: |
} // namespace |
-// Generic syntax sugar that should work equally well for all implementations. |
-template <typename T> T operator - (const T& l) { return T(0) - l; } |
- |
-template <typename L, typename R> L& operator += (L& l, const R& r) { return (l = l + r); } |
-template <typename L, typename R> L& operator -= (L& l, const R& r) { return (l = l - r); } |
-template <typename L, typename R> L& operator *= (L& l, const R& r) { return (l = l * r); } |
-template <typename L, typename R> L& operator /= (L& l, const R& r) { return (l = l / r); } |
- |
-template <typename L> L& operator <<= (L& l, int bits) { return (l = l << bits); } |
-template <typename L> L& operator >>= (L& l, int bits) { return (l = l >> bits); } |
- |
// Include platform specific specializations if available. |
#ifndef SKNX_NO_SIMD |
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 |