diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-11-27 15:09:12 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-11-27 21:45:07 +0000 |
commit | 3738362b9072b7f5a3c31e5e2ba214646efeed84 (patch) | |
tree | 09b99744049936facaba379e58a2e03124d2822a /src/xmlpatterns/type/qebvtype_p.h | |
parent | 9ab300f9153b26df9b4dd3e9b92b875216cad83a (diff) |
type: Add missing override and remove redundant virtual
Change-Id: I1c8c39947c9c6f54f6232d2a9cad5d5a41b4bd49
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/xmlpatterns/type/qebvtype_p.h')
-rw-r--r-- | src/xmlpatterns/type/qebvtype_p.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/xmlpatterns/type/qebvtype_p.h b/src/xmlpatterns/type/qebvtype_p.h index 7940ba96..d81e3348 100644 --- a/src/xmlpatterns/type/qebvtype_p.h +++ b/src/xmlpatterns/type/qebvtype_p.h @@ -78,10 +78,10 @@ namespace QPatternist /** * @todo docs if it's an ebvable type, etc. */ - virtual bool itemMatches(const Item &item) const; - virtual bool xdtTypeMatches(const ItemType::Ptr &other) const; + bool itemMatches(const Item &item) const override; + bool xdtTypeMatches(const ItemType::Ptr &other) const override; - virtual QString displayName(const NamePool::Ptr &np) const; + QString displayName(const NamePool::Ptr &np) const override; /** * @note The semantical meaning of this type's item type can @@ -90,7 +90,7 @@ namespace QPatternist * * @returns always 'this' since EBVType is also an ItemType */ - virtual ItemType::Ptr itemType() const; + ItemType::Ptr itemType() const override; /** * @note The semantical meaning of this type's cardinality @@ -99,24 +99,24 @@ namespace QPatternist * * @returns always Cardinality::zeroOrMore() */ - virtual Cardinality cardinality() const; + Cardinality cardinality() const override; - virtual bool isAtomicType() const; + bool isAtomicType() const override; /** * @returns always @c null */ - virtual ItemType::Ptr atomizedType() const; + ItemType::Ptr atomizedType() const override; /** * @returns always BuiltinTypes::item */ - virtual ItemType::Ptr xdtSuperType() const; + ItemType::Ptr xdtSuperType() const override; /** * @returns always @c false */ - virtual bool isNodeType() const; + bool isNodeType() const override; protected: friend class CommonSequenceTypes; |