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

Coverity analysis defect 165972: Using a moved object

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 8.1 Required
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • ALL

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/util/future_test_valid.cpp:258: USE_AFTER_MOVE 165972 "semiFut" is moved (indicated by "std::move(semiFut)").
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/util/future_test_valid.cpp:259: USE_AFTER_MOVE 165972 "semiFut" is used after it has been already moved.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: