From 99c2730bc9db270560671f2d7d173768465ed51f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 31 Oct 2016 14:30:52 -0700 Subject: 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 , but not all of our compilers support that). --- host/lib/convert/convert_impl.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'host/lib/convert/convert_impl.cpp') diff --git a/host/lib/convert/convert_impl.cpp b/host/lib/convert/convert_impl.cpp index 7dfbb33fd..d624bf970 100644 --- a/host/lib/convert/convert_impl.cpp +++ b/host/lib/convert/convert_impl.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include @@ -159,20 +159,20 @@ UHD_STATIC_BLOCK(convert_register_item_sizes){ //register standard complex types convert::register_bytes_per_item("fc64", sizeof(std::complex)); convert::register_bytes_per_item("fc32", sizeof(std::complex)); - convert::register_bytes_per_item("sc64", sizeof(std::complex)); - convert::register_bytes_per_item("sc32", sizeof(std::complex)); - convert::register_bytes_per_item("sc16", sizeof(std::complex)); - convert::register_bytes_per_item("sc8", sizeof(std::complex)); + convert::register_bytes_per_item("sc64", sizeof(std::complex)); + convert::register_bytes_per_item("sc32", sizeof(std::complex)); + convert::register_bytes_per_item("sc16", sizeof(std::complex)); + convert::register_bytes_per_item("sc8", sizeof(std::complex)); //register standard real types convert::register_bytes_per_item("f64", sizeof(double)); convert::register_bytes_per_item("f32", sizeof(float)); - convert::register_bytes_per_item("s64", sizeof(boost::int64_t)); - convert::register_bytes_per_item("s32", sizeof(boost::int32_t)); - convert::register_bytes_per_item("s16", sizeof(boost::int16_t)); - convert::register_bytes_per_item("s8", sizeof(boost::int8_t)); - convert::register_bytes_per_item("u8", sizeof(boost::uint8_t)); + convert::register_bytes_per_item("s64", sizeof(int64_t)); + convert::register_bytes_per_item("s32", sizeof(int32_t)); + convert::register_bytes_per_item("s16", sizeof(int16_t)); + convert::register_bytes_per_item("s8", sizeof(int8_t)); + convert::register_bytes_per_item("u8", sizeof(uint8_t)); //register VITA types - convert::register_bytes_per_item("item32", sizeof(boost::int32_t)); + convert::register_bytes_per_item("item32", sizeof(int32_t)); } -- cgit v1.2.3