-
Notifications
You must be signed in to change notification settings - Fork 0
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
almost nothing has virtual destructors #76
Comments
jjwilke
pushed a commit
that referenced
this issue
Feb 4, 2018
@jjwilke Can you be more specific with this? I have virtual destructors on everything that I can find in the backend API. There are a few things where the virtual destructor is private or deleted because the object is never supposed to be deleted via a pointer to that object. Other things without virtual destructors are that way because they're not supposed to have vtables. |
This was mostly in the frontend. I got a bazillion warnings about delete being called on non-virtual destructors when I tried to build. I'll push what I changed into a branch on both back/front.
From: David Hollman <notifications@github.com<mailto:notifications@github.com>>
Reply-To: DARMA-tasking/darma-frontend <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Monday, February 12, 2018 at 10:44 AM
To: DARMA-tasking/darma-frontend <darma-frontend@noreply.github.com<mailto:darma-frontend@noreply.github.com>>
Cc: "Wilke, Jeremiah J" <jjwilke@sandia.gov<mailto:jjwilke@sandia.gov>>, Mention <mention@noreply.github.com<mailto:mention@noreply.github.com>>
Subject: [EXTERNAL] Re: [DARMA-tasking/darma-frontend] almost nothing has virtual destructors (#76)
@jjwilke<https://github.com/jjwilke> Can you be more specific with this? I have virtual destructors on everything that I can find in the backend API. There are a few things where the virtual destructor is private or deleted because the object is never supposed to be deleted via a pointer to that object. Other things without virtual destructors are that way because they're not supposed to have vtables.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#76 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAGh2RTFv3m4TP0qTMylIX13T8zNEvmuks5tUIaCgaJpZM4R4cpY>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
all abstract objects need virtual destructors
The text was updated successfully, but these errors were encountered: