forked from GPSBabel/gpsbabel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use PImpl idiom to hide Format and Filter headers from users of Vecs,…
… FilterVecs. (GPSBabel#854) * use pimpl to hide vec implementation of formats. * use PIMPL for filter_vecs. * sort vecs and filter_vecs include files. * workaround memory leak issues with pimpl vecs, filter_vecs. with some compilers sanitize address and valgrind reported errors. The number of errors varied with compiler/platform. Valgrind and sanitize address found different errors as well. MacOS with clang 13 ran error free. Linux with gcc9 and clang 10 showed multiple errors. The errors detected were related to the destruction of the Format and Filter instances. * move ctors/dtors back to h files. * catch nuke_format up with vecs.
- Loading branch information
Showing
5 changed files
with
1,174 additions
and
1,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.