diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-10-31 14:30:52 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:02:22 -0800 |
commit | 99c2730bc9db270560671f2d7d173768465ed51f (patch) | |
tree | bc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/deprecated.cpp | |
parent | 218f4b0b63927110df9dbbaa8353c346eee2d98a (diff) | |
download | uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.gz uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.bz2 uhd-99c2730bc9db270560671f2d7d173768465ed51f.zip |
Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with
stdint.h (The 'correct' replacement would be <cstdint>, but not all of our
compilers support that).
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; } |