diff options
Diffstat (limited to 'src/mongo/db/s/rename_collection_participant_service.h')
-rw-r--r-- | src/mongo/db/s/rename_collection_participant_service.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/rename_collection_participant_service.h b/src/mongo/db/s/rename_collection_participant_service.h index 041bc31df58..920c4bdcc96 100644 --- a/src/mongo/db/s/rename_collection_participant_service.h +++ b/src/mongo/db/s/rename_collection_participant_service.h @@ -153,7 +153,7 @@ private: template <typename Func> auto _buildPhaseHandler(const Phase& newPhase, Func&& handlerFn) { - return [=] { + return [=, this] { const auto& currPhase = _doc.getPhase(); if (currPhase > newPhase) { |