aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/convert_common.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-10 14:24:51 -0800
committerJosh Blum <josh@joshknows.com>2011-02-10 14:24:51 -0800
commit08bad571b7e535bf665aec78d4468dbb231474a7 (patch)
tree1a3e10137b4c39d0890ebc21340dbdd6ba79dcab /host/lib/convert/convert_common.hpp
parent1be2590962669f307dce24ccb0b0011b3f3f25f5 (diff)
downloaduhd-08bad571b7e535bf665aec78d4468dbb231474a7.tar.gz
uhd-08bad571b7e535bf665aec78d4468dbb231474a7.tar.bz2
uhd-08bad571b7e535bf665aec78d4468dbb231474a7.zip
uhd: use ref vector class for the conversion routines I/O
Diffstat (limited to 'host/lib/convert/convert_common.hpp')
-rw-r--r--host/lib/convert/convert_common.hpp8
1 files changed, 4 insertions, 4 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 \
)