Index: include/core/SkTemplates.h |
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h |
index 1d22a642dae3ba959d4f7a9a9bee8fb4ff7072e7..0488a29651ad044df90d3822b166e0f7c3f5f954 100644 |
--- a/include/core/SkTemplates.h |
+++ b/include/core/SkTemplates.h |
@@ -132,7 +132,7 @@ public: |
~SkAutoTDelete() { SkDELETE(fObj); } |
T* get() const { return fObj; } |
- operator T*() { return fObj; } |
+ operator T*() const { return fObj; } |
T& operator*() const { SkASSERT(fObj); return *fObj; } |
T* operator->() const { SkASSERT(fObj); return fObj; } |