diff options
author | Benety Goh <benety@mongodb.com> | 2020-08-02 10:30:48 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-02 14:43:22 +0000 |
commit | 21a87d73742ef282a7bda1e56bf06619fd81233c (patch) | |
tree | 0f25377f870801c4d22545abb3a2424779c590e4 /src/mongo/db/cst | |
parent | 406e8c39a4a3a3e34eb9b174f18f545bfbab62c6 (diff) | |
download | mongo-21a87d73742ef282a7bda1e56bf06619fd81233c.tar.gz |
SERVER-49800 fix use-after-move violations in query
Diffstat (limited to 'src/mongo/db/cst')
-rw-r--r-- | src/mongo/db/cst/pipeline_parser_gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/cst/pipeline_parser_gen.cpp b/src/mongo/db/cst/pipeline_parser_gen.cpp index 06fc7b7cadb..8d13065b8ee 100644 --- a/src/mongo/db/cst/pipeline_parser_gen.cpp +++ b/src/mongo/db/cst/pipeline_parser_gen.cpp @@ -3327,8 +3327,8 @@ int PipelineParserGen::parse() { | yyreturn -- parsing is finished, return the result. | `-----------------------------------------------------*/ yyreturn: - if (!yyla.empty()) - yy_destroy_("Cleanup: discarding lookahead", yyla); + if (!yyla.empty()) // NOLINT(bugprone-use-after-move) + yy_destroy_("Cleanup: discarding lookahead", yyla); // NOLINT(bugprone-use-after-move) /* Do not reclaim the symbols of the rule whose action triggered this YYABORT or YYACCEPT. */ |