summaryrefslogtreecommitdiffstats
path: root/host/include
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/include
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/include')
-rw-r--r--host/include/uhd/convert.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/include/uhd/convert.hpp b/host/include/uhd/convert.hpp
index bfe8c8267..8fc2f38db 100644
--- a/host/include/uhd/convert.hpp
+++ b/host/include/uhd/convert.hpp
@@ -21,15 +21,15 @@
#include <uhd/config.hpp>
#include <uhd/types/io_type.hpp>
#include <uhd/types/otw_type.hpp>
+#include <uhd/types/ref_vector.hpp>
#include <boost/function.hpp>
#include <string>
-#include <vector>
namespace uhd{ namespace convert{
- typedef std::vector<void *> output_type;
- typedef std::vector<const void *> input_type;
- typedef boost::function<void(input_type&, output_type&, size_t)> function_type;
+ typedef uhd::ref_vector<void *> output_type;
+ typedef uhd::ref_vector<const void *> input_type;
+ typedef boost::function<void(const input_type&, const output_type&, size_t)> function_type;
/*!
* Describe the priority of a converter function.