Index: include/core/SkRefCnt.h |
=================================================================== |
--- include/core/SkRefCnt.h (revision 8627) |
+++ include/core/SkRefCnt.h (working copy) |
@@ -189,12 +189,13 @@ |
} |
/** |
- * BlockRef<B> is a type which inherits from B, cannot be created, |
- * and makes ref and unref private. |
+ * BlockRef<B> is a type which inherits from B, cannot be created, |
+ * cannot be deleted, and makes ref and unref private. |
*/ |
template<typename B> class BlockRef : public B { |
private: |
BlockRef(); |
+ ~BlockRef(); |
void ref() const; |
void unref() const; |
}; |