[SERVER-69211] Coverity analysis defect 122835: AUTO_CAUSES_COPY Created: 26/Aug/22 Updated: 29/Oct/23 Resolved: 09/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Warren James |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Security 2022-09-05, Security 2022-09-19 |
| Participants: |
| Description |
|
AUTO_CAUSES_COPY Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy. |
| Comments |
| Comment by Githook User [ 07/Sep/22 ] |
|
Author: {'name': 'Warren James', 'email': 'warren.james@mongodb.com', 'username': 'W-A-James'}Message: |