diff options
author | Josh Blum <josh@joshknows.com> | 2011-02-10 14:24:51 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-02-10 14:24:51 -0800 |
commit | 08bad571b7e535bf665aec78d4468dbb231474a7 (patch) | |
tree | 1a3e10137b4c39d0890ebc21340dbdd6ba79dcab /host/include | |
parent | 1be2590962669f307dce24ccb0b0011b3f3f25f5 (diff) | |
download | uhd-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.hpp | 8 |
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. |