diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-03-19 21:26:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-03-19 21:26:46 +0000 |
commit | a407fa830a37e721bdeedfd2c3c9c953c96ae29c (patch) | |
tree | 6fb6036784598dda388c5b15c17753929e2f5fbf | |
parent | dc29dff1dce936e7a093649caabee2439b9efed8 (diff) | |
download | external_llvm-a407fa830a37e721bdeedfd2c3c9c953c96ae29c.zip external_llvm-a407fa830a37e721bdeedfd2c3c9c953c96ae29c.tar.gz external_llvm-a407fa830a37e721bdeedfd2c3c9c953c96ae29c.tar.bz2 |
Fix -Wnon-virtual-dtor warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98994 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MachObjectWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp index 824928a..9ea79f0 100644 --- a/lib/MC/MachObjectWriter.cpp +++ b/lib/MC/MachObjectWriter.cpp @@ -192,6 +192,8 @@ public: : Writer(_Writer), OS(Writer->getStream()), Is64Bit(_Is64Bit) { } + virtual ~MachObjectWriterImpl() {} + void Write8(uint8_t Value) { Writer->Write8(Value); } void Write16(uint16_t Value) { Writer->Write16(Value); } void Write32(uint32_t Value) { Writer->Write32(Value); } |