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

CSFilter does not have a destructor #4619

Closed
blenderfan opened this issue Jan 14, 2025 · 1 comment · Fixed by #4620
Closed

CSFilter does not have a destructor #4619

blenderfan opened this issue Jan 14, 2025 · 1 comment · Fixed by #4620
Assignees

Comments

@blenderfan
Copy link

The class CSFilter, unlike other filters like PMFFilter etc., does not declare or define a destructor. This leads to problems when including the file into other C++ projects, since the unique_ptr holding the CSArgs needs to know how to destruct it.

Expected behavior
Project compiles when including the header "CSFiler.hpp" into another project that uses PDAL as a DLL.

@abellgithub abellgithub self-assigned this Jan 14, 2025
@abellgithub
Copy link
Contributor

To be clear, there's no problem including the file, the problem comes when you need to invoke the destructor of a CSFilter. You can avoid this issue by using StageFactory, but will fix.

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 a pull request may close this issue.

2 participants