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

utils/ofThread.h:42:7: warning: 'class ofThread' has virtual functions and accessible non-virtual destructor #7912

Open
lvdpower opened this issue Mar 30, 2024 · 0 comments

Comments

@lvdpower
Copy link

lvdpower commented Mar 30, 2024

utils/ofThread.h:42:7: warning: 'class ofThread' has virtual functions and accessible non-virtual destructor

appear with "g++ main.cpp ofApp.cpp -std=c++17 -Wall -Wnon-virtual-dtor .... "

It seems necessary to add "virtual ~ofThread() { }

timur123@gmail.com

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