aboutsummaryrefslogtreecommitdiffstats
path: root/gr-digital
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-07-17 23:07:44 +0200
committermormj <34754695+mormj@users.noreply.github.com>2021-07-19 06:57:25 -0400
commitba8fff945d92ee53cf9c37a97e2eb50d3f368c76 (patch)
treeff6e8de437d12363ac3e2c8cf59fee0ab7d69303 /gr-digital
parentdigital/burst_shaper: don't sort; you don't have to, iterators exist (diff)
downloadgnuradio-ba8fff945d92ee53cf9c37a97e2eb50d3f368c76.tar.xz
gnuradio-ba8fff945d92ee53cf9c37a97e2eb50d3f368c76.zip
digital/symbol_sync_{cc,_ff}: don't sort; it's already sorted
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-digital')
-rw-r--r--gr-digital/lib/symbol_sync_cc_impl.cc1
-rw-r--r--gr-digital/lib/symbol_sync_ff_impl.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/gr-digital/lib/symbol_sync_cc_impl.cc b/gr-digital/lib/symbol_sync_cc_impl.cc
index 4762c5b62..15b710ac9 100644
--- a/gr-digital/lib/symbol_sync_cc_impl.cc
+++ b/gr-digital/lib/symbol_sync_cc_impl.cc
@@ -174,7 +174,6 @@ void symbol_sync_cc_impl::collect_tags(uint64_t nitems_rd, int count)
// d_tags is used for manual tag propagation.
d_new_tags.clear();
get_tags_in_range(d_new_tags, 0, nitems_rd, nitems_rd + count);
- std::sort(d_new_tags.begin(), d_new_tags.end(), tag_t::offset_compare);
d_tags.insert(d_tags.end(), d_new_tags.begin(), d_new_tags.end());
std::sort(d_tags.begin(), d_tags.end(), tag_t::offset_compare);
}
diff --git a/gr-digital/lib/symbol_sync_ff_impl.cc b/gr-digital/lib/symbol_sync_ff_impl.cc
index b6aebd5d6..ef8e108b5 100644
--- a/gr-digital/lib/symbol_sync_ff_impl.cc
+++ b/gr-digital/lib/symbol_sync_ff_impl.cc
@@ -177,7 +177,6 @@ void symbol_sync_ff_impl::collect_tags(uint64_t nitems_rd, int count)
// d_tags is used for manual tag propagation.
d_new_tags.clear();
get_tags_in_range(d_new_tags, 0, nitems_rd, nitems_rd + count);
- std::sort(d_new_tags.begin(), d_new_tags.end(), tag_t::offset_compare);
d_tags.insert(d_tags.end(), d_new_tags.begin(), d_new_tags.end());
std::sort(d_tags.begin(), d_tags.end(), tag_t::offset_compare);
}