From d4f6b86a9bdea09c2c158b9982559a727f8c6a0b Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Sun, 17 Mar 2013 12:24:38 -0400
Subject: blocks: converting references to vector source/sink, null
 source/sink, nop, copy, head, skiphead, vector_map, and annotator blocks to
 use gr-blocks.

---
 gr-blocks/lib/annotator_alltoall_impl.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'gr-blocks/lib/annotator_alltoall_impl.cc')

diff --git a/gr-blocks/lib/annotator_alltoall_impl.cc b/gr-blocks/lib/annotator_alltoall_impl.cc
index 5af1a9c18e..4909f7f820 100644
--- a/gr-blocks/lib/annotator_alltoall_impl.cc
+++ b/gr-blocks/lib/annotator_alltoall_impl.cc
@@ -83,8 +83,8 @@ namespace gr {
       }
 
       // Source ID and key for any tag that might get applied from this block
-      pmt::pmt_t srcid = pmt::pmt_string_to_symbol(str.str());
-      pmt::pmt_t key = pmt::pmt_string_to_symbol("seq");
+      pmt::pmt_t srcid = pmt::string_to_symbol(str.str());
+      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
@@ -95,7 +95,7 @@ namespace gr {
       for(int j = 0; j < noutput_items; j++) {
         for(int i = 0; i < noutputs; i++) {
           if(abs_N % d_when == 0) {
-            pmt::pmt_t value = pmt::pmt_from_uint64(d_tag_counter++);
+            pmt::pmt_t value = pmt::from_uint64(d_tag_counter++);
             add_item_tag(i, abs_N, key, value, srcid);
           }
 
-- 
cgit v1.2.3