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

Coverity analysis defect 123201: AUTO_CAUSES_COPY

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      AUTO_CAUSES_COPY

      Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
      /src/mongo/db/pipeline/expression.h:562: AUTO_CAUSES_COPY 123201 Using the "auto" keyword without an "&" causes the copy of an object of type Value.

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: