Coverity analysis defect 148952: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • Storage Execution
    • ALL
    • v8.0
    • Execution Team 2024-05-13
    • 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/util/tracking_context.h:61: USE_AFTER_MOVE 148952 "other._obj" is moved (indicated by "std::move(other._obj)").
      /src/mongo/util/tracking_context.h:62: USE_AFTER_MOVE 148952 "other._obj" is used after it has been already moved.

            Assignee:
            Gregory Noma
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: