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

add const to prepareUpdate function declaration

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Execution Team 2019-10-07

      prepareUpdate() can be changed to const.

       

      Old Description: There is only one caller of validateUpdate() and update(). After SERVER-38027 is complete, both methods will be called one after the other and can be merged into a single update() method.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: