[SERVER-71517] Coverity analysis defect 134186: AUTO_CAUSES_COPY Created: 21/Nov/22 Updated: 29/Oct/23 Resolved: 05/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Coverity Collector User | Assignee: | Mathis Bessa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Server Serverless 2022-12-12 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
AUTO_CAUSES_COPY Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy. |
| Comments |
| Comment by Mathis Bessa [ 05/Dec/22 ] |
|
Done as part of this commit when working on |
| Comment by Mathis Bessa [ 29/Nov/22 ] |
|
This will be fixed in Leaving this ticket open for now until |