diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-18 07:36:29 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-03-18 07:43:20 -0500 |
commit | 3f1554f1a5a71190e2105354b8f6a8faa3347124 (patch) | |
tree | d2f6afa8b0a0b044f642566124e038ab997a6b18 /host/lib/deps | |
parent | b12c3b203773649e61f61344829924ab7ad43110 (diff) | |
download | uhd-3f1554f1a5a71190e2105354b8f6a8faa3347124.tar.gz uhd-3f1554f1a5a71190e2105354b8f6a8faa3347124.tar.bz2 uhd-3f1554f1a5a71190e2105354b8f6a8faa3347124.zip |
lib: Use from_str<bool> in constrained_device_args_t
This modifies `constrained_device_args_t::bool_arg::parse()` to use
`uhd::cast::from_str<bool>` to interpret strings as Boolean values,
deduplicating the string parsing code and single-sourcing it from
`uhd::cast`.
Diffstat (limited to 'host/lib/deps')
0 files changed, 0 insertions, 0 deletions