From 4cd09273061321c63cc18d4bd6817ba2569b38b8 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 3 Nov 2020 11:27:04 -0800 Subject: [PATCH] [memprof] Don't protect destructor in final --- compiler-rt/lib/memprof/memprof_thread.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler-rt/lib/memprof/memprof_thread.h b/compiler-rt/lib/memprof/memprof_thread.h index 8f26857..2e1a8bb 100644 --- a/compiler-rt/lib/memprof/memprof_thread.h +++ b/compiler-rt/lib/memprof/memprof_thread.h @@ -51,9 +51,6 @@ struct MemprofThreadContext final : public ThreadContextBase { MemprofThread *thread; StackTrace *stack; }; - -protected: - ~MemprofThreadContext() {} }; // MemprofThreadContext objects are never freed, so we need many of them. -- 2.7.4