Skip to content

Add a virtual destructor to genericPoint#9

Open
gongminmin wants to merge 1 commit into
MarcoAttene:masterfrom
gongminmin:virtualdes
Open

Add a virtual destructor to genericPoint#9
gongminmin wants to merge 1 commit into
MarcoAttene:masterfrom
gongminmin:virtualdes

Conversation

@gongminmin
Copy link
Copy Markdown

As a class that mean to be inherited, a virtual destrustor is necessary for polymorphism.

As a class that mean to be inherited, a virtual destrustor is necessary for polymorphism.
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.

1 participant