From 715cc35206b7c1e2168944dacf9aec9ce5d1f4e0 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. llvm-svn: 128952 --- 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