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.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/device_addr.hpp b/host/include/uhd/device_addr.hpp
index 8ea580321..d02febd6c 100644
--- a/host/include/uhd/device_addr.hpp
+++ b/host/include/uhd/device_addr.hpp
@@ -56,7 +56,9 @@ namespace uhd{
* \param device_addr a device address instance
* \return the string representation
*/
- std::string device_addr_to_string(const device_addr_t &device_addr);
+ struct device_addr{
+ static std::string to_string(const device_addr_t &device_addr);
+ };
} //namespace uhd