diff options
Diffstat (limited to 'src/xmlpatterns/iterators/qemptyiterator_p.h')
-rw-r--r-- | src/xmlpatterns/iterators/qemptyiterator_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xmlpatterns/iterators/qemptyiterator_p.h b/src/xmlpatterns/iterators/qemptyiterator_p.h index ad10bbc..2374382 100644 --- a/src/xmlpatterns/iterators/qemptyiterator_p.h +++ b/src/xmlpatterns/iterators/qemptyiterator_p.h @@ -76,7 +76,7 @@ namespace QPatternist /** * @returns always a default constructed value, T(). */ - virtual T next() + T next() override { return T(); } @@ -84,7 +84,7 @@ namespace QPatternist /** * @returns always a default constructed value, T(). */ - virtual T current() const + T current() const override { return T(); } @@ -92,7 +92,7 @@ namespace QPatternist /** * @returns always 0. */ - virtual xsInteger position() const + xsInteger position() const override { return 0; } @@ -100,7 +100,7 @@ namespace QPatternist /** * @returns always @c this, the reverse of <tt>()</tt> is <tt>()</tt>. */ - virtual typename QAbstractXmlForwardIterator<T>::Ptr toReversed() + typename QAbstractXmlForwardIterator<T>::Ptr toReversed() override { return typename QAbstractXmlForwardIterator<T>::Ptr(const_cast<EmptyIterator<T> *>(this)); } @@ -108,7 +108,7 @@ namespace QPatternist /** * @returns always 0 */ - virtual xsInteger count() + xsInteger count() override { return 0; } @@ -116,7 +116,7 @@ namespace QPatternist /** * @returns @c this */ - virtual typename QAbstractXmlForwardIterator<T>::Ptr copy() const + typename QAbstractXmlForwardIterator<T>::Ptr copy() const override { return typename QAbstractXmlForwardIterator<T>::Ptr(const_cast<EmptyIterator *>(this)); } |