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

Fix warnings "has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]" #1534

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s-trinh
Copy link
Contributor

@s-trinh s-trinh commented Jan 4, 2025

When using -Weffc++ flag, see afc5bc9
there are some "warning: ‘class vpUKSigmaDrawerAbstract’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]" warnings.

This PR fixes warnings detected with -Wnon-virtual-dtor flag.

  - "warning: ‘class vpImageMorphology::vpPixelOperationMax<unsigned char>’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]"
  - "warning: ‘class vpUKSigmaDrawerAbstract’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]"
Copy link

codecov bot commented Jan 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.01%. Comparing base (ef5fc77) to head (146a70b).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1534   +/-   ##
=======================================
  Coverage   54.01%   54.01%           
=======================================
  Files         441      441           
  Lines       53859    53861    +2     
=======================================
+ Hits        29092    29094    +2     
  Misses      24767    24767           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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