From d36d42d4aca35d15ef946a5f344b89be1baffecf Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 5 Apr 2011 23:03:24 +0000 Subject: [PATCH] Provide an empty virtual destructor to go with the virtual methods in this class. Clang was warning on this with -Wnon-virtual-dtor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128952 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ExecutionEngine/RuntimeDyld.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/ExecutionEngine/RuntimeDyld.h b/include/llvm/ExecutionEngine/RuntimeDyld.h index 01fc3383164..5d6d45272df 100644 --- a/include/llvm/ExecutionEngine/RuntimeDyld.h +++ b/include/llvm/ExecutionEngine/RuntimeDyld.h @@ -33,6 +33,7 @@ class RTDyldMemoryManager { void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT public: RTDyldMemoryManager() {} + virtual ~RTDyldMemoryManager() {} // Allocate ActualSize bytes, or more, for the named function. Return // a pointer to the allocated memory and update Size to reflect how much