diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2022-03-09 14:54:31 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-03-14 15:49:41 -0500 |
commit | 74f371fcd3ec126d132fdf69b4f504e6157a6147 (patch) | |
tree | b899c401c83ec7fdaae74c42dd310ac0b795aa73 /host/tests/blockdef_test.cpp | |
parent | b14480265ddeb1e6b4ad9d52c11b4c39e36fd379 (diff) | |
download | uhd-74f371fcd3ec126d132fdf69b4f504e6157a6147.tar.gz uhd-74f371fcd3ec126d132fdf69b4f504e6157a6147.tar.bz2 uhd-74f371fcd3ec126d132fdf69b4f504e6157a6147.zip |
host: Create meta_range_t::as_monotonic
In order to perform certain operations (start/stop/step), meta_range_t
objects must be "monotonic", meaning that the subranges composing it
are sorted and non-overlapping. This commit creates a method which
takes a non-monotonic meta_range_t containing no non-continuous
subranges and converts it into a monotonic meta_range_t.
Diffstat (limited to 'host/tests/blockdef_test.cpp')
0 files changed, 0 insertions, 0 deletions