Skip to content

Conversation

@rdegbe
Copy link
Owner

@rdegbe rdegbe commented Mar 24, 2022

Since the function does no mutation to the _id variable it returns from private, it is a good practice in c++ to make it return const

Since the function does no mutation to the _id variable it returns from private, it is a good practice in c++ to make it return const
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