aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/convert/convert_common.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-12 16:33:26 -0800
committerJosh Blum <josh@joshknows.com>2011-11-12 16:33:26 -0800
commitf31afff6dd03ee500ba48e81e0caf26bc61e430d (patch)
tree4dadad4db337c8d95ed9b8f3af6880c45461387d /host/lib/convert/convert_common.hpp
parentdd782308940e4b206e798eb2f0fa203b6e8c7f07 (diff)
downloaduhd-f31afff6dd03ee500ba48e81e0caf26bc61e430d.tar.gz
uhd-f31afff6dd03ee500ba48e81e0caf26bc61e430d.tar.bz2
uhd-f31afff6dd03ee500ba48e81e0caf26bc61e430d.zip
convert: added table conversion routine for sc16 to floats
Diffstat (limited to 'host/lib/convert/convert_common.hpp')
-rw-r--r--host/lib/convert/convert_common.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/convert/convert_common.hpp b/host/lib/convert/convert_common.hpp
index ce82f6216..f963e29ee 100644
--- a/host/lib/convert/convert_common.hpp
+++ b/host/lib/convert/convert_common.hpp
@@ -21,7 +21,6 @@
#include <uhd/convert.hpp>
#include <uhd/utils/static.hpp>
#include <boost/cstdint.hpp>
-#include <boost/bind.hpp>
#include <complex>
#define _DECLARE_CONVERTER(name, in_form, num_in, out_form, num_out, prio) \
@@ -37,7 +36,7 @@
id.num_inputs = num_in; \
id.output_format = #out_form; \
id.num_outputs = num_out; \
- uhd::convert::register_converter(id, boost::bind(&name::make), prio); \
+ uhd::convert::register_converter(id, &name::make, prio); \
} \
void name::operator()( \
const input_type &inputs, const output_type &outputs, const size_t nsamps \