aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/sph_send_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/sph_send_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/sph_send_test.cpp')
-rw-r--r--host/tests/sph_send_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/tests/sph_send_test.cpp b/host/tests/sph_send_test.cpp
index 9cd195c7e..39c7429db 100644
--- a/host/tests/sph_send_test.cpp
+++ b/host/tests/sph_send_test.cpp
@@ -56,12 +56,12 @@ public:
void pop_front_packet(
uhd::transport::vrt::if_packet_info_t &ifpi
){
- ifpi.num_packet_words32 = _lens.front()/sizeof(boost::uint32_t);
+ ifpi.num_packet_words32 = _lens.front()/sizeof(uint32_t);
if (_end == "big"){
- uhd::transport::vrt::if_hdr_unpack_be(reinterpret_cast<boost::uint32_t *>(_mems.front().get()), ifpi);
+ uhd::transport::vrt::if_hdr_unpack_be(reinterpret_cast<uint32_t *>(_mems.front().get()), ifpi);
}
if (_end == "little"){
- uhd::transport::vrt::if_hdr_unpack_le(reinterpret_cast<boost::uint32_t *>(_mems.front().get()), ifpi);
+ uhd::transport::vrt::if_hdr_unpack_le(reinterpret_cast<uint32_t *>(_mems.front().get()), ifpi);
}
_mems.pop_front();
_lens.pop_front();