forked from qt-creator/qt-creator
Fix compile warnings about missing override
Task-number: QTCREATORBUG-24098 Change-Id: I9c50d070d34a198b39176f6db13bc2f95521a6a8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
8
src/libs/3rdparty/cplusplus/Literals.h
vendored
8
src/libs/3rdparty/cplusplus/Literals.h
vendored
@@ -112,14 +112,14 @@ public:
|
||||
: Literal(chars, size)
|
||||
{ }
|
||||
|
||||
virtual const Identifier *identifier() const { return this; }
|
||||
const Identifier *identifier() const override { return this; }
|
||||
|
||||
virtual const Identifier *asNameId() const
|
||||
const Identifier *asNameId() const override
|
||||
{ return this; }
|
||||
|
||||
protected:
|
||||
virtual void accept0(NameVisitor *visitor) const;
|
||||
virtual bool match0(const Name *otherName, Matcher *matcher) const;
|
||||
void accept0(NameVisitor *visitor) const override;
|
||||
bool match0(const Name *otherName, Matcher *matcher) const override;
|
||||
};
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
Reference in New Issue
Block a user