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

Coverity analysis defect 165678: Using a moved object

    • Query Optimization
    • 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/db/query/optimizer/syntax/expr.h:82: USE_AFTER_MOVE 165678 "elements" is moved (indicated by "std::forward(elements)").
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/query/optimizer/syntax/expr.h:82: USE_AFTER_MOVE 165678 "elements" is used after it has been already moved.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: