[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 05/06: CID 1240027: runtime: clean up tag p
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 05/06: CID 1240027: runtime: clean up tag pruning using iter range |
Date: |
Wed, 24 Sep 2014 22:54:05 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit 8bd013db8d42019e94db5773899c6c0fd60e63fd
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] branch master updated (fd0955f -> 84ca321), git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 06/06: Merge branch 'maint', git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 04/06: blocks: deinterleaver will process more than one block at a time for significant speed improvements., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 05/06: CID 1240027: runtime: clean up tag pruning using iter range,
git <=
- [Commit-gnuradio] [gnuradio] 01/06: blocks: added example of how to construct and add a tag to a vector_source., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 03/06: fec: turning off some debug output., git, 2014/09/24
- [Commit-gnuradio] [gnuradio] 02/06: docs: fixed path stripping for binary dirs in doxygen manual., git, 2014/09/24