From f676197e6dd2a638f294e350654e32d3ffc45af8 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@kit.edu>
Date: Mon, 7 Jan 2013 17:10:20 +0100
Subject: core: added remove_tag_item()

---
 gnuradio-core/src/lib/runtime/gr_buffer.h | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'gnuradio-core/src/lib/runtime/gr_buffer.h')

diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.h b/gnuradio-core/src/lib/runtime/gr_buffer.h
index 67d48fb2dd..28ea977269 100644
--- a/gnuradio-core/src/lib/runtime/gr_buffer.h
+++ b/gnuradio-core/src/lib/runtime/gr_buffer.h
@@ -102,6 +102,15 @@ class GR_CORE_API gr_buffer {
    */
   void add_item_tag(const gr_tag_t &tag);
 
+  /*!
+   * \brief  Removes an existing tag from the buffer.
+   *
+   * If no such tag is found, does nothing.
+   *
+   * \param tag        the tag that needs to be removed
+   */
+  void remove_item_tag(const gr_tag_t &tag);
+
   /*!
    * \brief  Removes all tags before \p max_time from buffer
    *
-- 
cgit v1.2.3