[SERVER-38896] Convert const pointers into regular pointers in function parameters in the index catalog files Created: 08/Jan/19 Updated: 06/Dec/22 Resolved: 10/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
Grep for "OperationContext* const opCtx" and change to "OperationContext* opCtx" in function parameters in the index catalog related files. Also convert any other function parameters that have const pointers into regular pointers – OperationContext is just the easiest thing to grep for to find the relevant files. This change is to make the function parameters stylistically consistent with the rest of the codebase; and to mitigate seeing and copying the '* const ' paradigm into new code, as has been done already. We're only proposing this change for declarations, not definitions. |
| Comments |
| Comment by Sara Williamson [ 10/Jan/19 ] |
|
This can be fixed up as we find them, no need for a separate ticket. |