Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover : class Mode : Add const attribute to some 'getter' member function signatures #26251

Conversation

kwikius
Copy link
Contributor

@kwikius kwikius commented Feb 18, 2024

Add const attribute to Some member functions in Rover Mode class that don't change any state in the class.

Copy link
Contributor

@rmackay9 rmackay9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice, thanks!

@rmackay9 rmackay9 merged commit 883d57b into ArduPilot:master Feb 19, 2024
58 checks passed
@kwikius kwikius deleted the kwikius_rover_mode_add_const_to_member_functions branch February 19, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants