diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-11-28 11:44:58 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-09-02 16:19:18 +0300 |
commit | 577b36c4eb38254f735ee4a3892f4cd2497711c7 (patch) | |
tree | 18f176dc1e0d44a745d3ec07e3dca9df6db8f243 /src/xmlpatterns/functions/qsequencegeneratingfns_p.h | |
parent | d18843086f15c0d426b004b55c452598afa25dad (diff) | |
download | qtxmlpatterns-577b36c4eb38254f735ee4a3892f4cd2497711c7.tar.gz |
functions: Add missing override and remove redundant virtual
Change-Id: I33a85990adb8b13db11c3e59a1eb9da2e7e3352f
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/xmlpatterns/functions/qsequencegeneratingfns_p.h')
-rw-r--r-- | src/xmlpatterns/functions/qsequencegeneratingfns_p.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/xmlpatterns/functions/qsequencegeneratingfns_p.h b/src/xmlpatterns/functions/qsequencegeneratingfns_p.h index 30dab9f..83f2ee5 100644 --- a/src/xmlpatterns/functions/qsequencegeneratingfns_p.h +++ b/src/xmlpatterns/functions/qsequencegeneratingfns_p.h @@ -79,13 +79,13 @@ namespace QPatternist IdFN(); typedef QPair<DynamicContext::Ptr, const QAbstractXmlNodeModel *> IDContext; - virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const; + Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const override; inline Item mapToItem(const QString &id, const IDContext &context) const; - virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, - const SequenceType::Ptr &reqType); + Expression::Ptr typeCheck(const StaticContext::Ptr &context, + const SequenceType::Ptr &reqType) override; private: typedef QExplicitlySharedDataPointer<const IdFN> ConstPtr; @@ -101,7 +101,7 @@ namespace QPatternist class IdrefFN : public ContextNodeChecker { public: - virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const; + Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const override; }; /** @@ -113,7 +113,7 @@ namespace QPatternist class DocFN : public StaticBaseUriContainer { public: - virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const; + Item evaluateSingleton(const DynamicContext::Ptr &context) const override; /** * The implementation of this function is placed in a different compilation unit, @@ -124,9 +124,9 @@ namespace QPatternist * href="http://onesearch.sun.com/search/onesearch/index.jsp?qt=6532605&site=sunsolve&otf=ss&col=support-sunsolve&otf=sunsolve&site=ss&col=search-sunsolve">Sun, * multiply-defined label for template instance, bug 6532605</a> */ - virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, - const SequenceType::Ptr &reqType); - virtual SequenceType::Ptr staticType() const; + Expression::Ptr typeCheck(const StaticContext::Ptr &context, + const SequenceType::Ptr &reqType) override; + SequenceType::Ptr staticType() const override; private: SequenceType::Ptr m_type; @@ -141,7 +141,7 @@ namespace QPatternist class DocAvailableFN : public StaticBaseUriContainer { public: - virtual bool evaluateEBV(const DynamicContext::Ptr &context) const; + bool evaluateEBV(const DynamicContext::Ptr &context) const override; }; /** @@ -153,7 +153,7 @@ namespace QPatternist class CollectionFN : public FunctionCall { public: - virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const; + Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const override; }; } |