aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp_clock/multi_usrp_clock.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/lib/usrp_clock/multi_usrp_clock.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/lib/usrp_clock/multi_usrp_clock.cpp')
-rw-r--r--host/lib/usrp_clock/multi_usrp_clock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp_clock/multi_usrp_clock.cpp b/host/lib/usrp_clock/multi_usrp_clock.cpp
index 4d3e526d6..71521190e 100644
--- a/host/lib/usrp_clock/multi_usrp_clock.cpp
+++ b/host/lib/usrp_clock/multi_usrp_clock.cpp
@@ -61,10 +61,10 @@ public:
return _tree->list("/mboards").size();
}
- boost::uint32_t get_time(size_t board){
+ uint32_t get_time(size_t board){
std::string board_str = str(boost::format("/mboards/%d") % board);
- return _tree->access<boost::uint32_t>(board_str / "time").get();
+ return _tree->access<uint32_t>(board_str / "time").get();
}
sensor_value_t get_sensor(const std::string &name, size_t board){