diff options
Diffstat (limited to 'include/llvm/Support/MemoryObject.h')
-rw-r--r-- | include/llvm/Support/MemoryObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/MemoryObject.h b/include/llvm/Support/MemoryObject.h index 8368965b9c..fd0e966bc9 100644 --- a/include/llvm/Support/MemoryObject.h +++ b/include/llvm/Support/MemoryObject.h @@ -20,7 +20,7 @@ namespace llvm { class MemoryObject { public: /// Destructor - Override as necessary. - ~MemoryObject() { + virtual ~MemoryObject() { } /// getBase - Returns the lowest valid address in the region. |