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

dropboxQt::files::ListFolderResult missing virtual destructor #5

Open
barbicels opened this issue May 2, 2020 · 0 comments
Open

dropboxQt::files::ListFolderResult missing virtual destructor #5

barbicels opened this issue May 2, 2020 · 0 comments

Comments

@barbicels
Copy link

barbicels commented May 2, 2020

Re: https://github.com/osoftteam/dropboxQt/blob/master/src/dropbox/files/FilesListFolderResult.h

This class has virtual methods, but is missing the virtual destructor that all other dropboxQt::files class headers have.
Because of this, clang posts a warning wherever an object of this class is deleted.

It just needs this line added:
virtual ~ListFolderResult(){}

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

No branches or pull requests

1 participant