summaryrefslogtreecommitdiffstats
path: root/common/changereplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/changereplay.cpp')
-rw-r--r--common/changereplay.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/changereplay.cpp b/common/changereplay.cpp
index 532cca8..4870551 100644
--- a/common/changereplay.cpp
+++ b/common/changereplay.cpp
@@ -99,6 +99,9 @@ KAsync::Job<void> ChangeReplay::replayNextRevision()
99 SinkTraceCtx(mLogCtx) << "Changereplay from " << *lastReplayedRevision << " to " << *topRevision; 99 SinkTraceCtx(mLogCtx) << "Changereplay from " << *lastReplayedRevision << " to " << *topRevision;
100 return KAsync::doWhile( 100 return KAsync::doWhile(
101 [this, lastReplayedRevision, topRevision]() -> KAsync::Job<KAsync::ControlFlowFlag> { 101 [this, lastReplayedRevision, topRevision]() -> KAsync::Job<KAsync::ControlFlowFlag> {
102 if (!mGuard) {
103 return KAsync::value(KAsync::Break);
104 }
102 if (*lastReplayedRevision >= *topRevision) { 105 if (*lastReplayedRevision >= *topRevision) {
103 SinkTraceCtx(mLogCtx) << "Done replaying"; 106 SinkTraceCtx(mLogCtx) << "Done replaying";
104 return KAsync::value(KAsync::Break); 107 return KAsync::value(KAsync::Break);