Fix -Wnon-virtual-dtor warning.

llvm-svn: 98994
This commit is contained in:
Rafael Espindola 2010-03-19 21:26:46 +00:00
parent 5140920a48
commit 07b4f8cd4b
1 changed files with 2 additions and 0 deletions

View File

@ -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); }