diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-11-28 11:42:05 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-09-02 16:20:28 +0300 |
commit | 3101514787f7f3a451514b2ef3fc6e7bcfe1f0ce (patch) | |
tree | 9c72b4942b123ab284884dd10c1998a306b94fc9 /src/xmlpatterns/data/qdecimal_p.h | |
parent | ff5d1f797f0131d395f8d092cd69dfebf9f7dc15 (diff) | |
download | qtxmlpatterns-3101514787f7f3a451514b2ef3fc6e7bcfe1f0ce.tar.gz |
data: Add missing override and remove redundant virtual
Change-Id: Ic114d4c1243f4c6f10cbf6ece408e2f7586e17fc
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/xmlpatterns/data/qdecimal_p.h')
-rw-r--r-- | src/xmlpatterns/data/qdecimal_p.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/xmlpatterns/data/qdecimal_p.h b/src/xmlpatterns/data/qdecimal_p.h index 68fa573..4cd7c28 100644 --- a/src/xmlpatterns/data/qdecimal_p.h +++ b/src/xmlpatterns/data/qdecimal_p.h @@ -87,40 +87,40 @@ namespace QPatternist * * @returns @c false if the number is 0 or @c NaN, otherwise @c true. */ - bool evaluateEBV(const QExplicitlySharedDataPointer<DynamicContext> &) const; + bool evaluateEBV(const QExplicitlySharedDataPointer<DynamicContext> &) const override; - virtual QString stringValue() const; + QString stringValue() const override; /** * @returns always BuiltinTypes::xsDecimal */ - virtual ItemType::Ptr type() const; + ItemType::Ptr type() const override; - virtual xsDouble toDouble() const; - virtual xsInteger toInteger() const; - virtual xsFloat toFloat() const; - virtual xsDecimal toDecimal() const; - virtual qulonglong toUnsignedInteger() const; + xsDouble toDouble() const override; + xsInteger toInteger() const override; + xsFloat toFloat() const override; + xsDecimal toDecimal() const override; + qulonglong toUnsignedInteger() const override; - virtual Numeric::Ptr round() const; - virtual Numeric::Ptr roundHalfToEven(const xsInteger scale) const; - virtual Numeric::Ptr floor() const; - virtual Numeric::Ptr ceiling() const; - virtual Numeric::Ptr abs() const; + Numeric::Ptr round() const override; + Numeric::Ptr roundHalfToEven(const xsInteger scale) const override; + Numeric::Ptr floor() const override; + Numeric::Ptr ceiling() const override; + Numeric::Ptr abs() const override; /** * @returns always @c false, xs:decimal doesn't have * not-a-number in its value space. */ - virtual bool isNaN() const; + bool isNaN() const override; /** * @returns always @c false, xs:decimal doesn't have * infinity in its value space. */ - virtual bool isInf() const; + bool isInf() const override; - virtual Item toNegated() const; + Item toNegated() const override; /** * Converts @p value into a canonical string representation for @c xs:decimal. This @@ -129,7 +129,7 @@ namespace QPatternist */ static QString toString(const xsDecimal value); - virtual bool isSigned() const; + bool isSigned() const override; protected: |