-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
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/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.
- is duplicated by
-
SERVER-68669 Coverity analysis defect 122849: AUTO_CAUSES_COPY
-
- Closed
-
-
SERVER-68813 Coverity analysis defect 122634: AUTO_CAUSES_COPY
-
- Closed
-
-
SERVER-68991 Coverity analysis defect 122841: AUTO_CAUSES_COPY
-
- Closed
-
-
SERVER-68992 Coverity analysis defect 122913: AUTO_CAUSES_COPY
-
- Closed
-
-
SERVER-68995 Coverity analysis defect 123142: AUTO_CAUSES_COPY
-
- Closed
-
-
SERVER-68999 Coverity analysis defect 123201: AUTO_CAUSES_COPY
-
- Closed
-