summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-02 16:01:20 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-06 11:46:39 +0200
commit18cfabafa615e42c4af092edca5bb35eced4de5e (patch)
tree65b7bd6464718edd4ca757744cbee446b75eafd5 /tests/auto/tools/moc
parent11b3092cc4672f9832bfa26d5c31b63927d0e696 (diff)
Remove unnecessary ; after function implementations
Task-number: QTBUG-82978 Change-Id: Iea3bcaec1ef9f4bd0f73e5dccca33354650f5bf4 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/tools/moc')
-rw-r--r--tests/auto/tools/moc/pointery_to_incomplete.h6
-rw-r--r--tests/auto/tools/moc/qprivateslots.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/tools/moc/pointery_to_incomplete.h b/tests/auto/tools/moc/pointery_to_incomplete.h
index 1fd0d89fed..63591bc0f7 100644
--- a/tests/auto/tools/moc/pointery_to_incomplete.h
+++ b/tests/auto/tools/moc/pointery_to_incomplete.h
@@ -40,9 +40,9 @@ class TestPointeeCanBeIncomplete : public QObject
{
Q_OBJECT
public:
- void setProp1(QPointer<FwdClass>) {};
- void setProp2(QSharedPointer<FwdClass>) {};
- void setProp3(const QWeakPointer<FwdClass> &) {};
+ void setProp1(QPointer<FwdClass>) {}
+ void setProp2(QSharedPointer<FwdClass>) {}
+ void setProp3(const QWeakPointer<FwdClass> &) {}
};
#endif // POINTERY_TO_INCOMPLETE_H
diff --git a/tests/auto/tools/moc/qprivateslots.h b/tests/auto/tools/moc/qprivateslots.h
index fd1c726b44..1e4cb21921 100644
--- a/tests/auto/tools/moc/qprivateslots.h
+++ b/tests/auto/tools/moc/qprivateslots.h
@@ -33,7 +33,7 @@
struct TestQPrivateSlots_Private
{
- void _q_privateslot() {};
+ void _q_privateslot() {}
};
class TestQPrivateSlots: public QObject