From 5ee708a235926b87958ae03ba7301112c4f127b7 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Fri, 22 Mar 2013 13:34:59 +0000 Subject: [PATCH] Fix typo in SkTLazy.h's "operator delete" git-svn-id: http://skia.googlecode.com/svn/trunk@8333 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkTLazy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 void* operator new(size_t, SkTLazy* 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 void operator delete(void*, SkTLazy) { SK_CRASH(); } +template void operator delete(void*, SkTLazy*) { 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)