From 3644cda80739a72ee6c8ede0f0cf21f2d4f26589 Mon Sep 17 00:00:00 2001 From: stephengold Date: Mon, 8 Jul 2024 14:30:30 -0700 Subject: [PATCH] TempAllocatorImpl: delete the unused destroy() method --- src/main/native/glue/TempAllocatorImpl.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/native/glue/TempAllocatorImpl.cpp b/src/main/native/glue/TempAllocatorImpl.cpp index 871eb9d5..f8f41ea4 100644 --- a/src/main/native/glue/TempAllocatorImpl.cpp +++ b/src/main/native/glue/TempAllocatorImpl.cpp @@ -39,15 +39,3 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_TempAllocatorImpl_cr TempAllocatorImpl *pResult = new TempAllocatorImpl(numBytes); return reinterpret_cast (pResult); } - -/* - * Class: com_github_stephengold_joltjni_TempAllocatorImpl - * Method: destroy - * Signature: (J)V - */ -JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_TempAllocatorImpl_destroy - (JNIEnv *, jclass, jlong va) { - const TempAllocatorImpl * const pAllocator - = reinterpret_cast (va); - delete pAllocator; -}