diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-01 11:50:14 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-01 11:50:14 -0800 |
commit | 6e8473e6eef84875e2c3babb35732f8c3b2a0247 (patch) | |
tree | 597242794c41b67b0a4693d6e5976d263015f6ae /host/include | |
parent | 606b896cb964c38ddfed0f0e5785237f9a4d0034 (diff) | |
download | uhd-6e8473e6eef84875e2c3babb35732f8c3b2a0247.tar.gz uhd-6e8473e6eef84875e2c3babb35732f8c3b2a0247.tar.bz2 uhd-6e8473e6eef84875e2c3babb35732f8c3b2a0247.zip |
Recv noise with uhd.
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/device_addr.hpp | 6 | ||||
-rw-r--r-- | host/include/uhd/usrp/dboard_id.hpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/host/include/uhd/device_addr.hpp b/host/include/uhd/device_addr.hpp index d02febd6c..ed538453a 100644 --- a/host/include/uhd/device_addr.hpp +++ b/host/include/uhd/device_addr.hpp @@ -56,9 +56,9 @@ namespace uhd{ * \param device_addr a device address instance * \return the string representation */ - struct device_addr{ - static std::string to_string(const device_addr_t &device_addr); - }; + namespace device_addr{ + std::string to_string(const device_addr_t &device_addr); + } } //namespace uhd diff --git a/host/include/uhd/usrp/dboard_id.hpp b/host/include/uhd/usrp/dboard_id.hpp index 8e904ff33..65e3d5707 100644 --- a/host/include/uhd/usrp/dboard_id.hpp +++ b/host/include/uhd/usrp/dboard_id.hpp @@ -28,9 +28,9 @@ enum dboard_id_t{ ID_BASIC_RX = 0x0001 }; -struct dboard_id{ - static std::string to_string(const dboard_id_t &id); -}; +namespace dboard_id{ + std::string to_string(const dboard_id_t &id); +} }} //namespace |