Fix for 9603

git-svn-id: http://skia.googlecode.com/svn/trunk@9604 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-06-14 12:45:25 +00:00
parent a47347eb9c
commit 68b6eca42e

View File

@ -456,7 +456,8 @@ void* operator new(size_t, SkTArray<T, MEM_COPY>* array, int atIndex) {
// 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*, SkTArray<T, MEM_COPY>* array, int atIndex) {
template <typename T, bool MEM_COPY>
void operator delete(void*, SkTArray<T, MEM_COPY>* array, int atIndex) {
SK_CRASH();
}