summaryrefslogtreecommitdiffstats
path: root/tests/auto/conformance/tst_conformance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/conformance/tst_conformance.cpp')
-rw-r--r--tests/auto/conformance/tst_conformance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/conformance/tst_conformance.cpp b/tests/auto/conformance/tst_conformance.cpp
index cc24509..f5512a9 100644
--- a/tests/auto/conformance/tst_conformance.cpp
+++ b/tests/auto/conformance/tst_conformance.cpp
@@ -120,7 +120,7 @@ void Tst_MqttConformance::basic_test()
QTRY_VERIFY2(sub->state() == QMqttSubscription::Subscribed, "Could not subscribe");
int msgCount = 0;
- connect(sub, &QMqttSubscription::messageReceived, this, [&msgCount](QMqttMessage msg) {
+ connect(sub, &QMqttSubscription::messageReceived, this, [&msgCount](QMqttMessage) {
msgCount++;
});