From kde-commits Thu Jun 30 19:49:33 2016 From: Christian Mollekopf Date: Thu, 30 Jun 2016 19:49:33 +0000 To: kde-commits Subject: [sink/develop] /: Fixed build Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=146731661408521 Git commit ae20c6efd1051d48c367f97b96812f305b4d0819 by Christian Mollekopf. Committed on 30/06/2016 at 13:05. Pushed by cmollekopf into branch 'develop'. Fixed build M +2 -2 examples/imapresource/imapresource.cpp M +1 -1 tests/accountstest.cpp http://commits.kde.org/akonadi-next/ae20c6efd1051d48c367f97b96812f305b4d0819 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();