[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 20/22: CID 1240027: runtime: clean up tag p
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 20/22: CID 1240027: runtime: clean up tag pruning using iter range |
Date: |
Wed, 24 Sep 2014 22:07:40 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 3aededd3fb7379a232c9a7e578bc5efb67de0845
Author: Tim O'Shea <address@hidden>
Date: Mon Sep 22 15:33:15 2014 -0400
CID 1240027: runtime: clean up tag pruning using iter range
---
gnuradio-runtime/lib/buffer.cc | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnuradio-runtime/lib/buffer.cc b/gnuradio-runtime/lib/buffer.cc
index dc86b90..f00e9a0 100644
--- a/gnuradio-runtime/lib/buffer.cc
+++ b/gnuradio-runtime/lib/buffer.cc
@@ -252,10 +252,7 @@ namespace gr {
*/
std::multimap<uint64_t, tag_t>::iterator end_itr =
d_item_tags.lower_bound(max_time);
std::multimap<uint64_t, tag_t>::iterator begin_itr = d_item_tags.begin();
- while (begin_itr != end_itr) {
- d_item_tags.erase(begin_itr);
- begin_itr++;
- }
+ d_item_tags.erase(begin_itr, end_itr);
}
long
- [Commit-gnuradio] [gnuradio] 19/22: digital: applying same fix of the complex M&M clock recovery block as the float version., (continued)
- [Commit-gnuradio] [gnuradio] 19/22: digital: applying same fix of the complex M&M clock recovery block as the float version., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 14/22: blocks: deinterleaver will process more than one block at a time for significant speed improvements., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 06/22: tags_wip, git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 22/22: Merge branch 'maint', git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 09/22: runtime: speed up all the things, git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 12/22: docs: fixed path stripping for binary dirs in doxygen manual., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 17/22: digital: clock recovery more verbose documentation, git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 11/22: blocks: added example of how to construct and add a tag to a vector_source., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 18/22: digital: adapt clock recovery QA, git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 16/22: digital: clock recovery delete unused variables, git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 20/22: CID 1240027: runtime: clean up tag pruning using iter range,
git <=