summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qiterable.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-02-09 16:46:58 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-02-09 21:26:19 +0000
commit5a90ca19e6672b1bba63c6aab1e972b4c49b96a3 (patch)
tree1c291f897d2bdc346311bacc60aa51ed0c9541d9 /src/corelib/kernel/qiterable.h
parent7c00ad4e9a950e4c3493a417895169f1c936ea51 (diff)
Remove redundant semi-colons
Clang warns us against them. Pick-to: 6.3 6.2 Change-Id: I9af45e9254f6a1adb3e8d78983f458b0302b0d57 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/kernel/qiterable.h')
-rw-r--r--src/corelib/kernel/qiterable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qiterable.h b/src/corelib/kernel/qiterable.h
index c77a158420..27bbe330cc 100644
--- a/src/corelib/kernel/qiterable.h
+++ b/src/corelib/kernel/qiterable.h
@@ -135,9 +135,9 @@ public:
bool operator==(const QTaggedIterator &o) const { return Iterator::operator==(o); }
bool operator!=(const QTaggedIterator &o) const { return Iterator::operator!=(o); }
QTaggedIterator &operator++() { Iterator::operator++(); return *this; }
- QTaggedIterator operator++(int x) { return QTaggedIterator(Iterator::operator++(x)); };
+ QTaggedIterator operator++(int x) { return QTaggedIterator(Iterator::operator++(x)); }
QTaggedIterator &operator--() { Iterator::operator--(); return *this; }
- QTaggedIterator operator--(int x) { return QTaggedIterator(Iterator::operator--(x)); };
+ QTaggedIterator operator--(int x) { return QTaggedIterator(Iterator::operator--(x)); }
QTaggedIterator &operator+=(qsizetype j) { Iterator::operator+=(j); return *this; }
QTaggedIterator &operator-=(qsizetype j) { Iterator::operator-=(j); return *this; }
QTaggedIterator operator+(qsizetype j) const { return QTaggedIterator(Iterator::operator+(j)); }
@@ -540,7 +540,7 @@ public:
Container metaContainer() const
{
return m_metaContainer;
- };
+ }
};
QT_END_NAMESPACE