Index: include/core/SkTemplates.h |
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h |
index ddf6681a11fd96cf55eca2c07f5c77f66b483149..17dcd596334bbc0f137c22623eae9866faa93af7 100644 |
--- a/include/core/SkTemplates.h |
+++ b/include/core/SkTemplates.h |
@@ -549,6 +549,7 @@ public: |
* memory. Use placement new for types that require a cons. |
*/ |
void* get() { return fStorage.get(); } |
+ const void* get() const { return fStorage.get(); } |
private: |
SkAlignedSStorage<sizeof(T)*N> fStorage; |
}; |