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/lib/rfnoc/wb_iface_adapter.hpp | |
| 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/lib/rfnoc/wb_iface_adapter.hpp')
| -rw-r--r-- | host/lib/rfnoc/wb_iface_adapter.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/rfnoc/wb_iface_adapter.hpp b/host/lib/rfnoc/wb_iface_adapter.hpp index 04623d203..d83bf9427 100644 --- a/host/lib/rfnoc/wb_iface_adapter.hpp +++ b/host/lib/rfnoc/wb_iface_adapter.hpp @@ -29,9 +29,9 @@ class UHD_API wb_iface_adapter : public uhd::timed_wb_iface { public: typedef boost::shared_ptr<wb_iface_adapter> sptr; - typedef boost::function<void(wb_addr_type, boost::uint32_t)> poke32_type; - typedef boost::function<boost::uint32_t(wb_addr_type)> peek32_type; - typedef boost::function<boost::uint64_t(wb_addr_type)> peek64_type; + typedef boost::function<void(wb_addr_type, uint32_t)> poke32_type; + typedef boost::function<uint32_t(wb_addr_type)> peek32_type; + typedef boost::function<uint64_t(wb_addr_type)> peek64_type; typedef boost::function<time_spec_t(void)> gettime_type; typedef boost::function<void(const time_spec_t&)> settime_type; @@ -51,9 +51,9 @@ public: virtual ~wb_iface_adapter(void) {}; - virtual void poke32(const wb_addr_type addr, const boost::uint32_t data); - virtual boost::uint32_t peek32(const wb_addr_type addr); - virtual boost::uint64_t peek64(const wb_addr_type addr); + virtual void poke32(const wb_addr_type addr, const uint32_t data); + virtual uint32_t peek32(const wb_addr_type addr); + virtual uint64_t peek64(const wb_addr_type addr); virtual time_spec_t get_time(void); virtual void set_time(const time_spec_t& t); |
