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

Move default values from definition to declaration in GraphEdit #49493

Merged

Conversation

madmiraal
Copy link
Contributor

Although C++ does allow member functions to have default values in the definition, they should be in the declaration. It makes things consistent and easier to understand; especially for IDEs.

For reference, they were originally added in #44469.

@akien-mga akien-mga merged commit a795a36 into godotengine:master Jun 10, 2021
@akien-mga
Copy link
Member

Thanks!

@madmiraal madmiraal deleted the graph_edit-default-in-declaration branch June 11, 2021 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants