summaryrefslogtreecommitdiffstats
path: root/common/resultset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resultset.cpp')
-rw-r--r--common/resultset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/resultset.cpp b/common/resultset.cpp
index 293035b..51914e9 100644
--- a/common/resultset.cpp
+++ b/common/resultset.cpp
@@ -18,7 +18,7 @@
18 */ 18 */
19#include "resultset.h" 19#include "resultset.h"
20 20
21#include "common/log.h" 21#include "log.h"
22 22
23ResultSet::ResultSet() : mIt(nullptr) 23ResultSet::ResultSet() : mIt(nullptr)
24{ 24{
@@ -78,12 +78,12 @@ bool ResultSet::next()
78 return true; 78 return true;
79 } 79 }
80 } else { 80 } else {
81 next([](const Sink::ApplicationDomain::ApplicationDomainType::Ptr &value, Sink::Operation) { return false; }); 81 next([](const QByteArray &, const Sink::EntityBuffer &, Sink::Operation) { return false; });
82 } 82 }
83 return false; 83 return false;
84} 84}
85 85
86bool ResultSet::next(std::function<bool(const Sink::ApplicationDomain::ApplicationDomainType::Ptr &value, Sink::Operation)> callback) 86bool ResultSet::next(const Callback &callback)
87{ 87{
88 Q_ASSERT(mValueGenerator); 88 Q_ASSERT(mValueGenerator);
89 return mValueGenerator(callback); 89 return mValueGenerator(callback);