Copilot commented on code in PR #12934:
URL: https://github.com/apache/trafficserver/pull/12934#discussion_r2872275648
##########
include/tscore/ArgParser.h:
##########
@@ -226,6 +226,8 @@ class ArgParser
void validate_mutex_groups(Arguments &ret) const;
// Helper method to validate option dependencies
void validate_dependencies(Arguments &ret) const;
+ // Helper method to apply default values for options not explicitly set
+ void apply_option_defaults(Arguments &ret);
Review Comment:
`apply_option_defaults()` doesn't modify `Command` state (it only reads
`_option_list` and writes to the `Arguments` output). Marking it `const` would
better reflect its behavior and keep it consistent with the other validation
helpers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]