diff options
author | Brad King <brad.king@kitware.com> | 2008-02-28 13:32:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-28 13:32:05 (GMT) |
commit | fcad490654e0e6f4c1d33f5c368dec38f0a42f97 (patch) | |
tree | 00efbc59f52b9b60dc862747d85bd6d4990af3c4 /Source | |
parent | 6c7d32394c7e220ee2dc63e83b14423d95799a5e (diff) | |
download | CMake-fcad490654e0e6f4c1d33f5c368dec38f0a42f97.zip CMake-fcad490654e0e6f4c1d33f5c368dec38f0a42f97.tar.gz CMake-fcad490654e0e6f4c1d33f5c368dec38f0a42f97.tar.bz2 |
COMP: Fix warnings in cmELF.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmELF.cxx | 5 |
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; |