Coverity analysis defect 140786: Using a moved object

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0
    • QE 2024-04-29
    • 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/db_raii.cpp:830: USE_AFTER_MOVE 140786 "options" is moved (indicated by "std::move(options)").
      /src/mongo/db/db_raii.cpp:848: USE_AFTER_MOVE 140786 "options" is used after it has been already moved.

            Assignee:
            Mihai Andrei
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: