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/tests/device3_test.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/tests/device3_test.cpp')
-rw-r--r-- | host/tests/device3_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/tests/device3_test.cpp b/host/tests/device3_test.cpp index 593facb9a..657436717 100644 --- a/host/tests/device3_test.cpp +++ b/host/tests/device3_test.cpp @@ -27,7 +27,7 @@ using namespace uhd; using namespace uhd::rfnoc; -static const boost::uint64_t TEST_NOC_ID = 0xAAAABBBBCCCCDDDD; +static const uint64_t TEST_NOC_ID = 0xAAAABBBBCCCCDDDD; static const sid_t TEST_SID0 = 0x00000200; // 0.0.2.0 static const sid_t TEST_SID1 = 0x00000210; // 0.0.2.F @@ -38,11 +38,11 @@ class pseudo_wb_iface_impl : public uhd::wb_iface pseudo_wb_iface_impl() {}; ~pseudo_wb_iface_impl() {}; - void poke64(const wb_addr_type addr, const boost::uint64_t data) { + void poke64(const wb_addr_type addr, const uint64_t data) { std::cout << str(boost::format("[PSEUDO] poke64 to addr: %016X, data == %016X") % addr % data) << std::endl; }; - boost::uint64_t peek64(const wb_addr_type addr) { + uint64_t peek64(const wb_addr_type addr) { std::cout << str(boost::format("[PSEUDO] peek64 to addr: %016X") % addr) << std::endl; switch (addr) { case SR_READBACK_REG_ID: @@ -57,11 +57,11 @@ class pseudo_wb_iface_impl : public uhd::wb_iface return 0; } - void poke32(const wb_addr_type addr, const boost::uint32_t data) { + void poke32(const wb_addr_type addr, const uint32_t data) { std::cout << str(boost::format("poke32 to addr: %08X, data == %08X") % addr % data) << std::endl; } - boost::uint32_t peek32(const wb_addr_type addr) { + uint32_t peek32(const wb_addr_type addr) { std::cout << str(boost::format("peek32 to addr: %08X") % addr) << std::endl; return 0; } |