aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/device_addr.hpp6
-rw-r--r--host/include/uhd/usrp/dboard_id.hpp6
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