Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-89327

Coverity analysis defect 146266: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Execution
    • ALL

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /opt/mongodbtoolchain/revisions/11316f1e7b36f08dcdd2ad0640af18f9287876f4/stow/gcc-v4.D1Q/include/c++/11.3.0/bits/uses_allocator_args.h:183: USE_AFTER_MOVE 146266 "_pr" is moved (indicated by "std::move(_pr)").
      /opt/mongodbtoolchain/revisions/11316f1e7b36f08dcdd2ad0640af18f9287876f4/stow/gcc-v4.D1Q/include/c++/11.3.0/bits/uses_allocator_args.h:183: USE_AFTER_MOVE 146266 "__pr" is used after it has been already moved.

            Assignee:
            kyle.suarez@mongodb.com Kyle Suarez
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: