refactor: Use override instead of virtual where possible (#4917)
This commit is contained in:
@@ -15,12 +15,12 @@ public:
|
||||
|
||||
protected:
|
||||
// turn a vector item into a model row
|
||||
virtual IgnorePhrase getItemFromRow(std::vector<QStandardItem *> &row,
|
||||
const IgnorePhrase &original) override;
|
||||
IgnorePhrase getItemFromRow(std::vector<QStandardItem *> &row,
|
||||
const IgnorePhrase &original) override;
|
||||
|
||||
// turns a row in the model into a vector item
|
||||
virtual void getRowFromItem(const IgnorePhrase &item,
|
||||
std::vector<QStandardItem *> &row) override;
|
||||
void getRowFromItem(const IgnorePhrase &item,
|
||||
std::vector<QStandardItem *> &row) override;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user