summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/convert/convert_common.hpp8
-rw-r--r--host/lib/transport/vrt_packet_handler.hpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/convert/convert_common.hpp b/host/lib/convert/convert_common.hpp
index c6ba1fcf9..c2ca233d9 100644
--- a/host/lib/convert/convert_common.hpp
+++ b/host/lib/convert/convert_common.hpp
@@ -25,16 +25,16 @@
#define DECLARE_CONVERTER(fcn, prio) \
static void fcn( \
- uhd::convert::input_type &inputs, \
- uhd::convert::output_type &outputs, \
+ const uhd::convert::input_type &inputs, \
+ const uhd::convert::output_type &outputs, \
size_t nsamps \
); \
UHD_STATIC_BLOCK(register_##fcn##_##prio){ \
uhd::convert::register_converter(#fcn, fcn, prio); \
} \
static void fcn( \
- uhd::convert::input_type &inputs, \
- uhd::convert::output_type &outputs, \
+ const uhd::convert::input_type &inputs, \
+ const uhd::convert::output_type &outputs, \
size_t nsamps \
)
diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp
index 795d5bc62..6cb70cfac 100644
--- a/host/lib/transport/vrt_packet_handler.hpp
+++ b/host/lib/transport/vrt_packet_handler.hpp
@@ -68,7 +68,7 @@ template <typename T> UHD_INLINE T get_context_code(
size_t size_of_copy_buffs;
size_t fragment_offset_in_samps;
std::vector<void *> io_buffs;
- uhd::convert::input_type otw_buffs;
+ std::vector<const void *> otw_buffs;
recv_state(size_t width = 1):
width(width),
@@ -309,7 +309,7 @@ template <typename T> UHD_INLINE T get_context_code(
const boost::uint64_t zeros;
std::vector<const void *> zero_buffs;
std::vector<const void *> io_buffs;
- uhd::convert::output_type otw_buffs;
+ std::vector<void *> otw_buffs;
send_state(size_t width = 1):
next_packet_seq(0),