diff options
Diffstat (limited to 'common/resultset.cpp')
-rw-r--r-- | common/resultset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resultset.cpp b/common/resultset.cpp index b82b14d..08954c9 100644 --- a/common/resultset.cpp +++ b/common/resultset.cpp | |||
@@ -103,7 +103,7 @@ ResultSet::ReplayResult ResultSet::replaySet(int offset, int batchSize, const Ca | |||
103 | skip(offset); | 103 | skip(offset); |
104 | int counter = 0; | 104 | int counter = 0; |
105 | while (!batchSize || (counter < batchSize)) { | 105 | while (!batchSize || (counter < batchSize)) { |
106 | const bool ret = next([this, &counter, callback](const ResultSet::Result &result) { | 106 | const bool ret = next([&counter, callback](const ResultSet::Result &result) { |
107 | counter++; | 107 | counter++; |
108 | callback(result); | 108 | callback(result); |
109 | }); | 109 | }); |