Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38896

Convert const pointers into regular pointers in function parameters in the index catalog files

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: