Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
Description
AUTO_CAUSES_COPY
Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
/src/mongo/db/pipeline/document_source_internal_unpack_bucket.cpp:938: AUTO_CAUSES_COPY 122841 Using the "auto" keyword without an "&" causes the copy of an object of type SortPatternPart.
Attachments
Issue Links
- duplicates
-
SERVER-68994 Fix AUTO_CAUSES_COPY coverity errors
-
- Closed
-