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

Close the correct file in pcl::io::savePLYFileBinary #3601

Merged
merged 1 commit into from Jan 28, 2020

Conversation

DiscreteLogarithm
Copy link
Contributor

@DiscreteLogarithm DiscreteLogarithm commented Jan 25, 2020

Fixes #3599

I kept the call to close despite it being redundant (the fstream destructor does this anaway) for the sake of consistency with other functions. AFAIK the only use case for manually closing fstream objects before going out of scope is to check the good flag which is not being done in pcl::io::savePLYFileBinary

@kunaltyagi
Copy link
Member

Thanks! We'll merge it soon 🚀

Copy link
Member

@taketwo taketwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@taketwo taketwo merged commit 1d89d32 into PointCloudLibrary:master Jan 28, 2020
@DiscreteLogarithm
Copy link
Contributor Author

Thank you all for the great software.

@taketwo taketwo added the changelog: fix Meta-information for changelog generation label Mar 18, 2020
@taketwo taketwo changed the title close the correct file in pcl::io::savePLYFileBinary Close the correct file in pcl::io::savePLYFileBinary Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fix Meta-information for changelog generation module: io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coding mistake in io/src/ply_io.cpp
3 participants