diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-25 19:18:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-25 19:42:27 +0200 |
commit | 0f6f34ca2fca81734544b32e8dbc8ee32122bb65 (patch) | |
tree | 79bb05d19d6d7f3ec4966b2913b7628d3ad8de0f /common/resultset.cpp | |
parent | 7f0f45c544b3a48feec3226faa8bb3018d542d9c (diff) | |
download | sink-0f6f34ca2fca81734544b32e8dbc8ee32122bb65.tar.gz sink-0f6f34ca2fca81734544b32e8dbc8ee32122bb65.zip |
Fixed more warnings and then disabled them
..because there is a boatload more to fix.
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 | }); |