[SERVER-33136] Some Command members need to be const-qualified Created: 05/Feb/18  Updated: 29/Oct/23  Resolved: 07/Feb/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.2

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

TypedCommand tightens the Command API, and often needs to access Command member functions through `const Command*` pointers. Some member functions are logically non-mutating, but are not marked const. These need to be const-qualified to proceed with TypedCommand refactoring.



 Comments   
Comment by Githook User [ 06/Feb/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}

Message: SERVER-33136 const-ify the command auth accessors

Depends on
https://github.com/mongodb/mongo/commit/09d4e0d9
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/3b9f2db836a330699688bc6cd8342ed0340850c6

Comment by Githook User [ 06/Feb/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}

Message: SERVER-33136 const-ify the command auth accessors
Branch: master
https://github.com/mongodb/mongo/commit/09d4e0d92d5678a21de3cf6138631998c62d20fb

Generated at Thu Feb 08 04:32:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.