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

explicitly defaulted copy constructor is implicitly deleted #33

Closed
ghost opened this issue May 28, 2020 · 0 comments
Closed

explicitly defaulted copy constructor is implicitly deleted #33

ghost opened this issue May 28, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented May 28, 2020

/usr/local/mailio/include/mailio/dialog.hpp:213:5: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted]
dialog_ssl(const dialog_ssl&) = default;
^
/usr/local/mailio/include/mailio/dialog.hpp:196:20: note: copy constructor of 'dialog_ssl' is implicitly deleted because base class 'mailio::dialog' has a deleted copy constructor
class dialog_ssl : public dialog
^
/usr/local/mailio/include/mailio/dialog.hpp:61:5: note: 'dialog' has been explicitly marked deleted here
dialog(const dialog& other) = delete;
^
1 warning generated.

I'm getting this warning which might cause memory leak. Could you please take a look at it? Thank you.

@ghost ghost closed this as completed May 28, 2020
This issue was closed.
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

0 participants