[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: |
|
||||
| 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: |