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

Remove const qualifier in _createCmdObj() method signature

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.3
    • None
    • Fully Compatible
    • Sharding NYC 2022-10-31
    • 65

    Description

      As noted by this bf, https://jira.mongodb.org/browse/BF-26675, the const qualifier on the _createCmdObj() method signature does not enforce const-ness and thus may reduce code readability without improving const correctness. We do not add value by enforcing const-ness to this function, thus remove the qualifier. 

      Attachments

        Activity

          People

            sanika.phanse@mongodb.com Sanika Phanse
            sanika.phanse@mongodb.com Sanika Phanse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: