Use override specifier where apropriate.
- fixed using clang-tidy's modernize-use-override check.
This commit is contained in:
@@ -52,7 +52,7 @@ namespace glabels
|
||||
Merge();
|
||||
Merge( const Merge* merge );
|
||||
public:
|
||||
virtual ~Merge();
|
||||
~Merge() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,13 +42,13 @@ namespace glabels
|
||||
public:
|
||||
None();
|
||||
None( const None* merge );
|
||||
virtual ~None();
|
||||
~None() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
None* clone() const;
|
||||
None* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
@@ -63,12 +63,12 @@ namespace glabels
|
||||
// Implementation of virtual methods
|
||||
/////////////////////////////////
|
||||
public:
|
||||
QStringList keys() const;
|
||||
QString primaryKey() const;
|
||||
QStringList keys() const override;
|
||||
QString primaryKey() const override;
|
||||
protected:
|
||||
void open();
|
||||
void close();
|
||||
Record* readNextRecord();
|
||||
void open() override;
|
||||
void close() override;
|
||||
Record* readNextRecord() override;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -44,19 +44,19 @@ namespace glabels
|
||||
protected:
|
||||
Text( QChar delimiter, bool line1HasKeys );
|
||||
Text( const Text* merge );
|
||||
virtual ~Text();
|
||||
~Text() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Implementation of virtual methods
|
||||
/////////////////////////////////
|
||||
public:
|
||||
QStringList keys() const;
|
||||
QString primaryKey() const;
|
||||
QStringList keys() const override;
|
||||
QString primaryKey() const override;
|
||||
protected:
|
||||
void open();
|
||||
void close();
|
||||
Record* readNextRecord();
|
||||
void open() override;
|
||||
void close() override;
|
||||
Record* readNextRecord() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextColon();
|
||||
TextColon( const TextColon* merge );
|
||||
virtual ~TextColon();
|
||||
~TextColon() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextColon* clone() const;
|
||||
TextColon* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextColonKeys();
|
||||
TextColonKeys( const TextColonKeys* merge );
|
||||
virtual ~TextColonKeys();
|
||||
~TextColonKeys() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextColonKeys* clone() const;
|
||||
TextColonKeys* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextCsv();
|
||||
TextCsv( const TextCsv* merge );
|
||||
virtual ~TextCsv();
|
||||
~TextCsv() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextCsv* clone() const;
|
||||
TextCsv* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextCsvKeys();
|
||||
TextCsvKeys( const TextCsvKeys* merge );
|
||||
virtual ~TextCsvKeys();
|
||||
~TextCsvKeys() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextCsvKeys* clone() const;
|
||||
TextCsvKeys* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextSemicolon();
|
||||
TextSemicolon( const TextSemicolon* merge );
|
||||
virtual ~TextSemicolon();
|
||||
~TextSemicolon() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextSemicolon* clone() const;
|
||||
TextSemicolon* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextSemicolonKeys();
|
||||
TextSemicolonKeys( const TextSemicolonKeys* merge );
|
||||
virtual ~TextSemicolonKeys();
|
||||
~TextSemicolonKeys() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextSemicolonKeys* clone() const;
|
||||
TextSemicolonKeys* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextTsv();
|
||||
TextTsv( const TextTsv* merge );
|
||||
virtual ~TextTsv();
|
||||
~TextTsv() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextTsv* clone() const;
|
||||
TextTsv* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
@@ -42,14 +42,14 @@ namespace glabels
|
||||
private:
|
||||
TextTsvKeys();
|
||||
TextTsvKeys( const TextTsvKeys* merge );
|
||||
virtual ~TextTsvKeys();
|
||||
~TextTsvKeys() override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
public:
|
||||
TextTsvKeys* clone() const;
|
||||
TextTsvKeys* clone() const override;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user