diff options
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.cpp | 4 | ||||
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.cpp b/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.cpp index 32554555984..28f416c1732 100644 --- a/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.cpp @@ -17,8 +17,8 @@ ForceCommitContext::ForceCommitContext(vespalib::Executor &executor, _task(std::make_unique<ForceCommitDoneTask>(documentMetaStore, std::move(pending_gid_to_lid_changes))), _committedDocIdLimit(0u), _docIdLimit(nullptr), - _lidsToCommit(std::move(lidsToCommit)), - _onDone(std::move(onDone)) + _onDone(std::move(onDone)), + _lidsToCommit(std::move(lidsToCommit)) { } diff --git a/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.h b/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.h index 9da835ea898..cbb4e6e86e1 100644 --- a/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.h +++ b/searchcore/src/vespa/searchcore/proton/server/forcecommitcontext.h @@ -28,8 +28,8 @@ class ForceCommitContext : public vespalib::IDestructorCallback std::unique_ptr<ForceCommitDoneTask> _task; uint32_t _committedDocIdLimit; DocIdLimit *_docIdLimit; + std::shared_ptr<IDestructorCallback> _onDone; PendingLidTrackerBase::Snapshot _lidsToCommit; - std::shared_ptr<IDestructorCallback> _onDone; public: ForceCommitContext(vespalib::Executor &executor, |