Skip to content

Conversation

@Yunusemre-Oeztuerk
Copy link
Contributor

When adding the getter and setter functions to the example project a void has been added to the constructor which was not there during the creation of the gdexample.cpp file and is also causing the error C2533: constructors not allowed a return type. Simply removing it again fixes it.

Using Windows 10 and Godot 4.0.2

When adding the getter and setter functions to the example project a void has been added to the constructor in line 439 which was previously not there (in line 213) and is also causing the error C2533: constructors not allowed a return type. Simply removing it again fixes it.
@mhilbrunner mhilbrunner requested a review from paddy-exe May 8, 2023 13:59
@mhilbrunner mhilbrunner added bug area:manual Issues and PRs related to the Manual/Tutorials section of the documentation labels May 8, 2023
@paddy-exe
Copy link
Contributor

Good catch! Thanks!

@mhilbrunner mhilbrunner merged commit 9caad0c into godotengine:master May 14, 2023
@mhilbrunner
Copy link
Member

Thank you! Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants