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

clang: Add CallableCustomMethodPointerBase virtual destructor #1275

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

capnm
Copy link
Contributor

@capnm capnm commented Oct 19, 2023

Fixes #1272

  • clang++ (debian v16/v17) warning: destructor called on 'godot::CallableCustomMethodPointerBase' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]

Fixes godotengine#1272
+ clang++ (debian v16/v17) warning:
	destructor called on
	'godot::CallableCustomMethodPointerBase' that is abstract but has non-virtual destructor
	[-Wdelete-abstract-non-virtual-dtor]
@capnm capnm requested a review from a team as a code owner October 19, 2023 10:25
@dsnopek dsnopek added the bug This has been identified as a bug label Oct 19, 2023
@dsnopek dsnopek added this to the 4.2 milestone Oct 19, 2023
Copy link
Collaborator

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good to me :-)

@dsnopek dsnopek merged commit 7a3cfe8 into godotengine:master Oct 19, 2023
12 checks passed
@dsnopek
Copy link
Collaborator

dsnopek commented Oct 19, 2023

Congrats on your first merged PR! 🎉

@capnm capnm deleted the fix-clang-virt_destructor-warning branch October 19, 2023 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clang: Warning - destructor called on 'godot::CallableCustomMethodPointerBase'
2 participants