Coverity analysis defect 123168: Using a moved object

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • QO 2022-09-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /src/mongo/db/query/query_solution.cpp:634: USE_AFTER_MOVE 123168 "index" is moved (indicated by "std::move(index)").
      /src/mongo/db/query/query_solution.cpp:637: USE_AFTER_MOVE 123168 "index" is used after it has been already moved.

            Assignee:
            Militsa Sotirova
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: