summaryrefslogtreecommitdiff
path: root/mblock/src/lib/mb_port_simple.cc
diff options
context:
space:
mode:
authorjcorgan2009-07-26 20:01:02 +0000
committerjcorgan2009-07-26 20:01:02 +0000
commit2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3 (patch)
treed646b7851ed0ea3015c3480609d03d5589ebd60d /mblock/src/lib/mb_port_simple.cc
parent970d850297cf945943528557127db2cd327c3f3c (diff)
downloadgnuradio-2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3.tar.gz
gnuradio-2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3.tar.bz2
gnuradio-2bf2a8f2d2a4477818bfa91cae64fb663fdf88c3.zip
Merged r11491:11494 from jcorgan/pmt into trunk.
Moves pmt types functions into pmt:: from gruel:: Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11495 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'mblock/src/lib/mb_port_simple.cc')
-rw-r--r--mblock/src/lib/mb_port_simple.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mblock/src/lib/mb_port_simple.cc b/mblock/src/lib/mb_port_simple.cc
index 3005932f1..235e59de2 100644
--- a/mblock/src/lib/mb_port_simple.cc
+++ b/mblock/src/lib/mb_port_simple.cc
@@ -31,6 +31,7 @@
#include <assert.h>
#include <mbi_runtime_lock.h>
+using namespace pmt;
mb_port_simple::mb_port_simple(mb_mblock *mblock,
const std::string &port_name,
@@ -48,7 +49,7 @@ mb_port_simple::~mb_port_simple()
}
void
-mb_port_simple::send(gruel::pmt_t signal, gruel::pmt_t data, gruel::pmt_t metadata, mb_pri_t priority)
+mb_port_simple::send(pmt_t signal, pmt_t data, pmt_t metadata, mb_pri_t priority)
{
if (port_type() == mb_port::RELAY) // Can't send directly to a RELAY port
throw mbe_invalid_port_type(mblock(), mblock()->instance_name(), port_name());