diff options
author | Benety Goh <benety@mongodb.com> | 2020-11-21 09:07:36 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-21 14:31:44 +0000 |
commit | 8a8435ba30e2ba76e09ea2992b8dfb3f64246702 (patch) | |
tree | 3a04446e114bea6103d88954b055a15738f6aa87 | |
parent | 65c4f3bcf915d6fe3ca6fa620fe0b5b9b0a0d405 (diff) | |
download | mongo-8a8435ba30e2ba76e09ea2992b8dfb3f64246702.tar.gz |
SERVER-51468 ignore use-after-move clang-tidy error
-rw-r--r-- | src/mongo/db/query/sbe_stage_builder_filter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/query/sbe_stage_builder_filter.cpp b/src/mongo/db/query/sbe_stage_builder_filter.cpp index dec1e9528a4..df2f2e3e096 100644 --- a/src/mongo/db/query/sbe_stage_builder_filter.cpp +++ b/src/mongo/db/query/sbe_stage_builder_filter.cpp @@ -1108,9 +1108,10 @@ public: _context->planNodeId, _context->slotIdGenerator); - inputStage = makeLoopJoin(std::move(inputStage), - std::move(shortCircuitingStage), - _context->planNodeId); + inputStage = + makeLoopJoin(std::move(inputStage), // NOLINT(bugprone-use-after-move) + std::move(shortCircuitingStage), + _context->planNodeId); return {std::move(shortCircuitingExpr), std::move(inputStage)}; } |