summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/no-keywords.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/no-keywords.h')
-rw-r--r--tests/auto/tools/moc/no-keywords.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/tools/moc/no-keywords.h b/tests/auto/tools/moc/no-keywords.h
index ca77056503..cb0bca7a19 100644
--- a/tests/auto/tools/moc/no-keywords.h
+++ b/tests/auto/tools/moc/no-keywords.h
@@ -69,8 +69,8 @@ public Q_SLOTS:
inline void mySlot() { mySignal(); }
private:
- int signals;
- double slots;
+ Q_DECL_UNUSED_MEMBER int signals;
+ Q_DECL_UNUSED_MEMBER double slots;
};
#define signals Q_SIGNALS