[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [sink/develop] /: Fixed build
From:       Christian Mollekopf <chrigi_1 () fastmail ! fm>
Date:       2016-06-30 19:49:33
Message-ID: E1bIhxt-0005c3-6w () code ! kde ! org
[Download RAW message or body]

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<void, qint64>([imap, mailbox](qint64 uid) {
-                        Trace() << "Finished modifying mail: " << uid;
+                    .then<void>([imap, mailbox]() {
+                        Trace() << "Finished modifying mail";
                     })
                     .then<QByteArray>([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<SinkResource>(Query()).then<void, QList<SinkResour=
ce>>([](const QList<SinkResource> &resources) {
+        Store::fetchAll<SinkResource>(Query()).then<void, QList<SinkResour=
ce::Ptr>>([](const QList<SinkResource::Ptr> &resources) {
             QCOMPARE(resources.size(), 0);
         })
         .exec().waitForFinished();

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic