Skip to content

Commit c318746

Browse files
committed
[lld-macho] Fix -Wsuggest-override after D99633. NFC
1 parent a0e611c commit c318746

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lld/MachO/Writer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ template <class LP> class LCSegment : public LoadCommand {
175175
public:
176176
LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {}
177177

178-
uint32_t getSize() const {
178+
uint32_t getSize() const override {
179179
return sizeof(typename LP::segment_command) +
180180
seg->numNonHiddenSections() * sizeof(typename LP::section);
181181
}
182182

183-
void writeTo(uint8_t *buf) const {
183+
void writeTo(uint8_t *buf) const override {
184184
using SegmentCommand = typename LP::segment_command;
185185
using Section = typename LP::section;
186186

0 commit comments

Comments
 (0)