Coverity analysis defect 122696: Using a moved object

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v6.1, v6.0
    • Sharding EMEA 2022-09-19
    • None
    • 3
    • 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/s/catalog/type_collection.cpp:52: USE_AFTER_MOVE 122696 "creationTime" is moved (indicated by "std::move(creationTime)").
      /src/mongo/s/catalog/type_collection.cpp:57: USE_AFTER_MOVE 122696 "creationTime" is used after it has been already moved.

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

                Created:
                Updated:
                Resolved: