mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
[lld-macho] Fix -Wsuggest-override after D99633. NFC
This commit is contained in:
parent
a0e611cf72
commit
c318746345
@ -175,12 +175,12 @@ template <class LP> class LCSegment : public LoadCommand {
|
||||
public:
|
||||
LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {}
|
||||
|
||||
uint32_t getSize() const {
|
||||
uint32_t getSize() const override {
|
||||
return sizeof(typename LP::segment_command) +
|
||||
seg->numNonHiddenSections() * sizeof(typename LP::section);
|
||||
}
|
||||
|
||||
void writeTo(uint8_t *buf) const {
|
||||
void writeTo(uint8_t *buf) const override {
|
||||
using SegmentCommand = typename LP::segment_command;
|
||||
using Section = typename LP::section;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user