From 1864024012213dc0a17c76e9755bf50a19944ec7 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 20 Dec 2016 16:02:38 +0100 Subject: Report when we don't have any more to fetch. ... so we can use that information in fetchMore. --- tests/databasepopulationandfacadequerybenchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/databasepopulationandfacadequerybenchmark.cpp') diff --git a/tests/databasepopulationandfacadequerybenchmark.cpp b/tests/databasepopulationandfacadequerybenchmark.cpp index f1904ad..6bd2051 100644 --- a/tests/databasepopulationandfacadequerybenchmark.cpp +++ b/tests/databasepopulationandfacadequerybenchmark.cpp @@ -112,7 +112,7 @@ class DatabasePopulationAndFacadeQueryBenchmark : public QObject QList list; emitter->onAdded([&list](const Sink::ApplicationDomain::Event::Ptr &event) { list << event; }); bool done = false; - emitter->onInitialResultSetComplete([&done](const Sink::ApplicationDomain::Event::Ptr &event) { done = true; }); + emitter->onInitialResultSetComplete([&done](const Sink::ApplicationDomain::Event::Ptr &event, bool) { done = true; }); emitter->fetch(Sink::ApplicationDomain::Event::Ptr()); QTRY_VERIFY(done); QCOMPARE(list.size(), count); -- cgit v1.2.3