[SERVER-68730] Coverity analysis defect 128584: AUTO_CAUSES_COPY Created: 11/Aug/22 Updated: 11/Oct/22 Resolved: 11/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Coverity Collector User | Assignee: | Enrico Golfieri |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | coverity, neweng, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Sharding EMEA 2022-10-17 | ||||||||
| Participants: | |||||||||
| Description |
|
AUTO_CAUSES_COPY Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy. |
| Comments |
| Comment by Enrico Golfieri [ 11/Oct/22 ] |
|
already fixed here |