aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/chdr_test.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-31 14:30:52 -0700
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:02:22 -0800
commit99c2730bc9db270560671f2d7d173768465ed51f (patch)
treebc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/tests/chdr_test.cpp
parent218f4b0b63927110df9dbbaa8353c346eee2d98a (diff)
downloaduhd-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/tests/chdr_test.cpp')
-rw-r--r--host/tests/chdr_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/chdr_test.cpp b/host/tests/chdr_test.cpp
index f48073a09..cdad7f35e 100644
--- a/host/tests/chdr_test.cpp
+++ b/host/tests/chdr_test.cpp
@@ -28,7 +28,7 @@ static void pack_and_unpack(
if_packet_info_t &if_packet_info_in
){
// Temp buffer for packed packet
- boost::uint32_t packet_buff[2048] = {0};
+ uint32_t packet_buff[2048] = {0};
// Check input (must not be lazy)
BOOST_REQUIRE(
@@ -46,7 +46,7 @@ static void pack_and_unpack(
packet_buff, if_packet_info_in
);
std::cout << std::endl;
- boost::uint32_t header_bits = (uhd::ntohx(packet_buff[0]) >> 28);
+ uint32_t header_bits = (uhd::ntohx(packet_buff[0]) >> 28);
std::cout << boost::format("header bits = 0b%d%d%d%d") % ((header_bits & 8) > 0)
% ((header_bits & 4) > 0)
% ((header_bits & 2) > 0)