summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc
diff options
context:
space:
mode:
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