aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTLazy.h
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-22 13:34:59 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-22 13:34:59 +0000
commit5ee708a235926b87958ae03ba7301112c4f127b7 (patch)
tree048646fe2c330c624e753707a91b3fcdcc5db4ce /include/core/SkTLazy.h
parent069a902a962d9548fc625ec71076b94ccb8f07ef (diff)
Fix typo in SkTLazy.h's "operator delete"
git-svn-id: http://skia.googlecode.com/svn/trunk@8333 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkTLazy.h')
-rw-r--r--include/core/SkTLazy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkTLazy.h b/include/core/SkTLazy.h
index 1934b5dff9..2fe05f1db1 100644
--- a/include/core/SkTLazy.h
+++ b/include/core/SkTLazy.h
@@ -103,7 +103,7 @@ template <typename T> void* operator new(size_t, SkTLazy<T>* lazy) {
// Skia doesn't use C++ exceptions but it may be compiled with them enabled. Having an op delete
// to match the op new silences warnings about missing op delete when a constructor throws an
// exception.
-template <typename T> void operator delete(void*, SkTLazy<T>) { SK_CRASH(); }
+template <typename T> void operator delete(void*, SkTLazy<T>*) { SK_CRASH(); }
// Use this to construct a T inside an SkTLazy using a non-default constructor.
#define SkNEW_IN_TLAZY(tlazy_ptr, type_name, args) (new (tlazy_ptr) type_name args)