[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: Depends on |
| Comment by Githook User [ 06/Feb/18 ] |
|
Author: {'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}Message: |