Coverity analysis defect 176499: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • 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/query/optimizer/rewrites/normalize_projections.cpp:58: USE_AFTER_MOVE 176499 "inBind" is moved (indicated by "std::move(inBind)").
      /src/mongo/db/query/optimizer/rewrites/normalize_projections.cpp:59: USE_AFTER_MOVE 176499 Returning while reference parameter "inBind" is in a moved state.

            Assignee:
            Unassigned
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: