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

Coverity analysis defect 134242: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL

      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/stats/scalar_histogram.cpp:97: USE_AFTER_MOVE 134242 "bounds" is moved (indicated by "std::move(bounds)").
      /src/mongo/db/query/stats/scalar_histogram.cpp:98: USE_AFTER_MOVE 134242 "bounds" is used after it has been already moved.

            Assignee:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: