diff options
author | Josh Blum | 2012-10-08 00:34:13 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-10-13 11:50:37 -0700 |
commit | 5b97216d8d62580b4c9224fb2ad630ade61c0a4f (patch) | |
tree | 5c30ac7f8c45e6d5d1763856e8e7fbaad9e0d8de /gr-uhd/lib | |
parent | a3dfc8b6193b316c95125aafa5c9de1fcf1b6fe3 (diff) | |
download | gnuradio-5b97216d8d62580b4c9224fb2ad630ade61c0a4f.tar.gz gnuradio-5b97216d8d62580b4c9224fb2ad630ade61c0a4f.tar.bz2 gnuradio-5b97216d8d62580b4c9224fb2ad630ade61c0a4f.zip |
uhd: fix pmt tuple ref namespace issue
The pmt_tuple_ref should be prefixed with pmt:: just like all of the other calls.
I am uncertain as to why this is compiling (we are not using namespace pmt),
unless there is a hidden using namespace somewhere in a global header.
But it will be good to get the code right as a general purpose example.
Diffstat (limited to 'gr-uhd/lib')
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_sink.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_sink.cc b/gr-uhd/lib/gr_uhd_usrp_sink.cc index 6c1688ea0..6216c94a8 100644 --- a/gr-uhd/lib/gr_uhd_usrp_sink.cc +++ b/gr-uhd/lib/gr_uhd_usrp_sink.cc @@ -389,8 +389,8 @@ public: else if (pmt::pmt_equal(key, TIME_KEY)){ _metadata.has_time_spec = true; _metadata.time_spec = uhd::time_spec_t( - pmt::pmt_to_uint64(pmt_tuple_ref(value, 0)), - pmt::pmt_to_double(pmt_tuple_ref(value, 1)) + pmt::pmt_to_uint64(pmt::pmt_tuple_ref(value, 0)), + pmt::pmt_to_double(pmt::pmt_tuple_ref(value, 1)) ); } } |