diff options
Diffstat (limited to 'gr-blocks/lib/annotator_alltoall_impl.cc')
-rw-r--r-- | gr-blocks/lib/annotator_alltoall_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/lib/annotator_alltoall_impl.cc b/gr-blocks/lib/annotator_alltoall_impl.cc index 3791d129f8..2c64043cff 100644 --- a/gr-blocks/lib/annotator_alltoall_impl.cc +++ b/gr-blocks/lib/annotator_alltoall_impl.cc @@ -14,7 +14,7 @@ #include "annotator_alltoall_impl.h" #include <gnuradio/io_signature.h> -#include <cstring> +#include <sstream> namespace gr { namespace blocks { @@ -60,7 +60,7 @@ int annotator_alltoall_impl::work(int noutput_items, // Source ID and key for any tag that might get applied from this block pmt::pmt_t srcid = pmt::string_to_symbol(str.str()); - pmt::pmt_t key = pmt::string_to_symbol("seq"); + static pmt::pmt_t key = pmt::string_to_symbol("seq"); // Work does nothing to the data stream; just copy all inputs to // outputs Adds a new tag when the number of items read is a |