aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/cast_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/cast_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/cast_test.cpp')
-rw-r--r--host/tests/cast_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/tests/cast_test.cpp b/host/tests/cast_test.cpp
index 6b8a4c527..1bd09e1a5 100644
--- a/host/tests/cast_test.cpp
+++ b/host/tests/cast_test.cpp
@@ -17,14 +17,14 @@
#include <iostream>
#include <boost/test/unit_test.hpp>
-#include <boost/cstdint.hpp>
+#include <stdint.h>
#include <uhd/utils/cast.hpp>
BOOST_AUTO_TEST_CASE(test_mac_addr){
std::string in = "0x0100";
- boost::uint16_t correct_result = 256;
- boost::uint16_t x = uhd::cast::hexstr_cast<boost::uint16_t>(in);
- //boost::uint16_t x = uhd::cast::hexstr_cast(in);
+ uint16_t correct_result = 256;
+ uint16_t x = uhd::cast::hexstr_cast<uint16_t>(in);
+ //uint16_t x = uhd::cast::hexstr_cast(in);
std::cout
<< "Testing hex -> uint16_t conversion. "
<< in << " == " << std::hex << x << "?" << std::endl;