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

move initialization of OptionInt/Double parameters to constructor #1364

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

tsteven4
Copy link
Collaborator

except for id, which isn't known by the formats/filters which contain the Option instances. Initialization of id is moved to Vecs::init_vec and FilterVecs::init_filter_vec.
Also, move validation of OptionInt/Double strings to Option class, where it can be maintained in parallel with the conversion
routines.

except for id, which isn't known by formats/filters.
Also, move validation of OptionInt/Double strings to Option
class, where it can be maintained in parallel with the conversion
routines.
also
fix -Wclazy-unused-non-trivial-variable.
add test of Option error detection.
@tsteven4 tsteven4 merged commit 21603ae into GPSBabel:master Oct 31, 2024
18 checks passed
@tsteven4 tsteven4 deleted the optionctor branch October 31, 2024 15:41
@tsteven4 tsteven4 mentioned this pull request Oct 31, 2024
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