From fcad490654e0e6f4c1d33f5c368dec38f0a42f97 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 28 Feb 2008 08:32:05 -0500 Subject: COMP: Fix warnings in cmELF. --- Source/cmELF.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 36ac61f..8b9d9af 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -85,7 +85,7 @@ public: } // Destruct and delete the file stream object. - ~cmELFInternal() + virtual ~cmELFInternal() { delete &this->Stream; } @@ -187,6 +187,9 @@ public: } switch(this->ELFType) { + case cmELF::FileTypeInvalid: + os << " invalid file"; + break; case cmELF::FileTypeRelocatableObject: os << " relocatable object"; break; -- cgit v0.12