aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/uhd/device_addr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/uhd/device_addr.hpp')
-rw-r--r--host/include/uhd/device_addr.hpp6
1 files changed, 3 insertions, 3 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