-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
0
-
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/query/planner_analysis.cpp:756: AUTO_CAUSES_COPY 122913 Using the "auto" keyword without an "&" causes the copy of an object of type BSONElement.
- duplicates
-
SERVER-68994 Fix AUTO_CAUSES_COPY coverity errors
-
- Closed
-