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/tests/chdr_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/tests/chdr_test.cpp') 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) -- cgit v1.2.3