[SERVER-70814] Remove const qualifier in _createCmdObj() method signature Created: 24/Oct/22  Updated: 29/Oct/23  Resolved: 25/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.3, 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Sanika Phanse (Inactive) Assignee: Sanika Phanse (Inactive)
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-10-31
Participants:
Linked BF Score: 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. 



 Comments   
Comment by Githook User [ 25/Oct/22 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-70814 Remove const qualifier in _createCmdObj() method signature
Branch: master
https://github.com/mongodb/mongo/commit/6fb14751ffca62190c71adf8fefdd7728816a1c5

Generated at Thu Feb 08 06:17:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.