diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:41:46 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:41:46 -0800 |
commit | 9b852f5f243e5cf68662b7152b5fa331a83e55fb (patch) | |
tree | 159ffe0761f78dd87e2ecc97abea14494abab4ff /host/lib/deprecated.cpp | |
parent | c66cb1bad0d881394f3519bd94f4693cceab4c64 (diff) | |
parent | 99c2730bc9db270560671f2d7d173768465ed51f (diff) | |
download | uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.gz uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.bz2 uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.zip |
Merge branch 'maint'
Diffstat (limited to 'host/lib/deprecated.cpp')
-rw-r--r-- | host/lib/deprecated.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/deprecated.cpp b/host/lib/deprecated.cpp index 0fc751eeb..839f7a3e8 100644 --- a/host/lib/deprecated.cpp +++ b/host/lib/deprecated.cpp @@ -4,7 +4,7 @@ #include <uhd/types/otw_type.hpp> #include <uhd/types/io_type.hpp> -#include <boost/cstdint.hpp> +#include <stdint.h> #include <stdexcept> #include <complex> #include <vector> @@ -33,8 +33,8 @@ static std::vector<size_t> get_tid_size_table(void){ std::vector<size_t> table(128, 0); table[size_t(io_type_t::COMPLEX_FLOAT64)] = sizeof(std::complex<double>); table[size_t(io_type_t::COMPLEX_FLOAT32)] = sizeof(std::complex<float>); - table[size_t(io_type_t::COMPLEX_INT16)] = sizeof(std::complex<boost::int16_t>); - table[size_t(io_type_t::COMPLEX_INT8)] = sizeof(std::complex<boost::int8_t>); + table[size_t(io_type_t::COMPLEX_INT16)] = sizeof(std::complex<int16_t>); + table[size_t(io_type_t::COMPLEX_INT8)] = sizeof(std::complex<int8_t>); return table; } |