diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-03-27 21:39:15 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-03-27 21:39:15 +0000 |
| commit | 89616adb0c193c88ae61d8f62a046dd8dbb35d46 (patch) | |
| tree | 82bc8e755b81dd3627b5d86ee1a38730e8307249 /lld/lib/ReaderWriter/ELF/SectionChunks.h | |
| parent | 988355c3aec10119b9ba3f48f91957181f1b306c (diff) | |
| download | bcm5719-llvm-89616adb0c193c88ae61d8f62a046dd8dbb35d46.tar.gz bcm5719-llvm-89616adb0c193c88ae61d8f62a046dd8dbb35d46.zip | |
Use override keyword instead of virtual.
llvm-svn: 233424
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/SectionChunks.h')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/SectionChunks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SectionChunks.h b/lld/lib/ReaderWriter/ELF/SectionChunks.h index 03ccfa059c6..145e3075cda 100644 --- a/lld/lib/ReaderWriter/ELF/SectionChunks.h +++ b/lld/lib/ReaderWriter/ELF/SectionChunks.h @@ -53,7 +53,7 @@ public: /// \brief Finalize the section contents before writing /// \brief Does this section have an output segment. - virtual bool hasOutputSegment() { return false; } + virtual bool hasOutputSegment() const { return false; } /// Return if the section is a loadable section that occupies memory virtual bool isLoadableSection() const { return false; } |

