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

Resolve "delete called on non-final" warnings. #252

Open
donpellegrino opened this issue Mar 13, 2022 · 0 comments
Open

Resolve "delete called on non-final" warnings. #252

donpellegrino opened this issue Mar 13, 2022 · 0 comments

Comments

@donpellegrino
Copy link
Contributor

Two warnings are issued by the Intel compiler on the codebase for "delete called on non-final":

src/static/suffixtree/LCP_PT.cpp:236:3: warning: delete called on non-final 'cds_static::RMQ_succinct' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
                delete (RMQ_succinct *)rmq;
                ^
src/static/suffixtree/SuffixTreeY.cpp:464:3: warning: delete called on non-final 'cds_static::TextIndexCSA' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
                delete (TextIndexCSA *)csa;
                ^
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