aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2021-12-21 13:13:53 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2022-01-05 09:58:21 -0600
commit25d8d6f611851d587e98607cba79a5bb74db2cb1 (patch)
tree9ba230390c0e006b5a5dce1267ef1215a56fc85c /host/lib/include
parent450a36eababc10e21b8af7bb130f41cec9e90d1e (diff)
downloaduhd-25d8d6f611851d587e98607cba79a5bb74db2cb1.tar.gz
uhd-25d8d6f611851d587e98607cba79a5bb74db2cb1.tar.bz2
uhd-25d8d6f611851d587e98607cba79a5bb74db2cb1.zip
host: Add char* overload for device_addr_t
This allows constructing a multi_usrp using a string constant: ``` auto usrp = uhd::usrp::multi_usrp::make("type=x4xx"); ```
Diffstat (limited to 'host/lib/include')
-rw-r--r--host/lib/include/uhdlib/usrp/constrained_device_args.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/host/lib/include/uhdlib/usrp/constrained_device_args.hpp b/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
index e0c2c9b90..d3b52ea01 100644
--- a/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
+++ b/host/lib/include/uhdlib/usrp/constrained_device_args.hpp
@@ -244,12 +244,6 @@ public: // Methods
constrained_device_args_t() {}
virtual ~constrained_device_args_t() {}
- void parse(const std::string& str_args)
- {
- device_addr_t dev_args(str_args);
- _parse(dev_args);
- }
-
void parse(const device_addr_t& dev_args)
{
_parse(dev_args);