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

Fix AUTO_CAUSES_COPY coverity errors

    • Fully Compatible

      AUTO_CAUSES_COPY

      Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
      /src/mongo/db/cst/cst_match_translation.cpp:144: AUTO_CAUSES_COPY 123017 Using the "auto" keyword without an "&" causes the copy of an object of type CNode.

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

              Created:
              Updated:
              Resolved: