From ae20c6efd1051d48c367f97b96812f305b4d0819 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 30 Jun 2016 15:05:26 +0200 Subject: Fixed build --- examples/imapresource/imapresource.cpp | 4 ++-- tests/accountstest.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 605dbc2..94b4b27 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp @@ -366,8 +366,8 @@ public: set.add(uid); return login.then(imap->select(mailbox)) .then(imap->storeFlags(set, flags)) - .then([imap, mailbox](qint64 uid) { - Trace() << "Finished modifying mail: " << uid; + .then([imap, mailbox]() { + Trace() << "Finished modifying mail"; }) .then([oldRemoteId, imap]() { return oldRemoteId; diff --git a/tests/accountstest.cpp b/tests/accountstest.cpp index 5a63b31..be5e1a0 100644 --- a/tests/accountstest.cpp +++ b/tests/accountstest.cpp @@ -82,7 +82,7 @@ private slots: Store::remove(resource).exec().waitForFinished(); - Store::fetchAll(Query()).then>([](const QList &resources) { + Store::fetchAll(Query()).then>([](const QList &resources) { QCOMPARE(resources.size(), 0); }) .exec().waitForFinished(); -- cgit v1.2.3