Coverity analysis defect 176603: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.26
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • ALL
    • 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/pipeline/document_source_set_window_fields.h:120: USE_AFTER_MOVE 176603 "sortBy" is moved (indicated by "std::move(sortBy)").
      /src/mongo/db/pipeline/document_source_set_window_fields.h:123: USE_AFTER_MOVE 176603 Returning while reference parameter "sortBy" is in a moved state.

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

              Created:
              Updated:
              Resolved: