From ff5d1f797f0131d395f8d092cd69dfebf9f7dc15 Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Tue, 28 Nov 2017 11:43:39 +0300 Subject: expr: Add missing override and remove redundant virtual Change-Id: If9f4b61a6eb739966b3941b1f97ba5dd6252053b Reviewed-by: Frederik Gladhorn --- src/xmlpatterns/expr/qforclause_p.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/xmlpatterns/expr/qforclause_p.h') diff --git a/src/xmlpatterns/expr/qforclause_p.h b/src/xmlpatterns/expr/qforclause_p.h index 31ea033..a7369f9 100644 --- a/src/xmlpatterns/expr/qforclause_p.h +++ b/src/xmlpatterns/expr/qforclause_p.h @@ -76,27 +76,27 @@ namespace QPatternist const Expression::Ptr &returnExpression, const VariableSlotID positionSlot); - virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const; - virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const; - virtual void evaluateToSequenceReceiver(const DynamicContext::Ptr &context) const; + Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const override; + Item evaluateSingleton(const DynamicContext::Ptr &context) const override; + void evaluateToSequenceReceiver(const DynamicContext::Ptr &context) const override; - virtual SequenceType::Ptr staticType() const; - virtual SequenceType::List expectedOperandTypes() const; - virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, - const SequenceType::Ptr &reqType); - virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const; - virtual QList > optimizationPasses() const; + SequenceType::Ptr staticType() const override; + SequenceType::List expectedOperandTypes() const override; + Expression::Ptr typeCheck(const StaticContext::Ptr &context, + const SequenceType::Ptr &reqType) override; + ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const override; + QList > optimizationPasses() const override; inline Item mapToItem(const Item &item, const DynamicContext::Ptr &context) const; - virtual ID id() const; + ID id() const override; inline Item::Iterator::Ptr mapToSequence(const Item &item, const DynamicContext::Ptr &context) const; /** * Sets m_allowsMany properly. */ - virtual Expression::Ptr compress(const StaticContext::Ptr &context); + Expression::Ptr compress(const StaticContext::Ptr &context) override; private: inline void riggPositionalVariable(const DynamicContext::Ptr &context, -- cgit v1.2.1