Coverity analysis defect 128621: AUTO_CAUSES_COPY

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      AUTO_CAUSES_COPY

      Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
      /src/mongo/db/repl/rs_rollback.cpp:1453: AUTO_CAUSES_COPY 128621 Using the "auto" keyword without an "&" causes the copy of an object of type UUID.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: