summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmELF.cxx5
1 files changed, 4 insertions, 1 deletions
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;