diff options
Diffstat (limited to 'gr-blocks/lib/message_debug_impl.h')
-rw-r--r-- | gr-blocks/lib/message_debug_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-blocks/lib/message_debug_impl.h b/gr-blocks/lib/message_debug_impl.h index 2c2077a65d..5027bfe745 100644 --- a/gr-blocks/lib/message_debug_impl.h +++ b/gr-blocks/lib/message_debug_impl.h @@ -35,7 +35,7 @@ private: * * \param msg A pmt message passed from the scheduler's message handling. */ - void print(pmt::pmt_t msg); + void print(const pmt::pmt_t& msg); /*! * \brief PDU formatted messages received in this port are printed to stdout. @@ -49,7 +49,7 @@ private: * * \param pdu A PDU message passed from the scheduler's message handling. */ - void print_pdu(pmt::pmt_t pdu); + void print_pdu(const pmt::pmt_t& pdu); /*! * \brief Messages received in this port are stored in a vector. @@ -62,7 +62,7 @@ private: * * \param msg A pmt message passed from the scheduler's message handling. */ - void store(pmt::pmt_t msg); + void store(const pmt::pmt_t& msg); gr::thread::mutex d_mutex; std::vector<pmt::pmt_t> d_messages; |