aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/types')
-rw-r--r--host/lib/types/device_addr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/types/device_addr.cpp b/host/lib/types/device_addr.cpp
index 01dd46f5c..8f0fffa75 100644
--- a/host/lib/types/device_addr.cpp
+++ b/host/lib/types/device_addr.cpp
@@ -44,6 +44,12 @@ device_addr_t::device_addr_t(const std::string& args)
}
}
+device_addr_t::device_addr_t(const char* args) :
+ device_addr_t(std::string(args))
+{
+ // No additional construction is necessary
+}
+
device_addr_t::device_addr_t(const std::map<std::string, std::string>& info)
{
for (auto& t : info) {