diff options
| -rw-r--r-- | llvm/include/llvm/Support/CrashRecoveryContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CrashRecoveryContext.h b/llvm/include/llvm/Support/CrashRecoveryContext.h index f76ae3e3d49..40b5286d901 100644 --- a/llvm/include/llvm/Support/CrashRecoveryContext.h +++ b/llvm/include/llvm/Support/CrashRecoveryContext.h @@ -132,7 +132,7 @@ public: template <typename T> struct CrashRecoveryContextTrait { static inline CrashRecoveryContextCleanup *createCleanup(T *resource) { - return new CrashRecoveryContextDestructorCleanup<T>(resource); + return new CrashRecoveryContextDeleteCleanup<T>(resource); } }; |

