[ELF] Fix -Woverloaded-virtual

llvm-svn: 167246
This commit is contained in:
Michael J. Spencer 2012-11-01 19:46:19 +00:00
parent d91bc3c8bb
commit a1913fbda9
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ protected:
template<support::endianness target_endianness, bool is64Bits>
class StockSectionChunk : public SectionChunk<target_endianness, is64Bits> {
public:
virtual StringRef segmentName() { return this->_segmentName; }
virtual StringRef segmentName() const { return this->_segmentName; }
void appendAtom(const DefinedAtom*);
virtual void write(uint8_t *filebuffer);
const ArrayRef<AtomInfo> atoms() const;