Index: include/core/SkTDArray.h |
diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h |
index d733c47bf8ed5d6cb049b10ae29cb840130ea5dc..66abcd474b0b71c91a34aea4a13db729b6e61253 100644 |
--- a/include/core/SkTDArray.h |
+++ b/include/core/SkTDArray.h |
@@ -69,6 +69,9 @@ public: |
(a.fCount == 0 || |
!memcmp(a.fArray, b.fArray, a.fCount * sizeof(T))); |
} |
+ friend bool operator!=(const SkTDArray<T>& a, const SkTDArray<T>& b) { |
+ return !(a == b); |
+ } |
void swap(SkTDArray<T>& other) { |
SkTSwap(fArray, other.fArray); |