From f593feccdee0eaf677a1ac44f6a10478824c9448 Mon Sep 17 00:00:00 2001 From: "Daniele E. Domenichelli" Date: Tue, 30 Mar 2021 11:21:39 +0200 Subject: [PATCH] Fix regression in 'yarp conf' command --- src/libYARP_os/src/yarp/os/impl/NameConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libYARP_os/src/yarp/os/impl/NameConfig.cpp b/src/libYARP_os/src/yarp/os/impl/NameConfig.cpp index 0f140226ba..f5d96d7bdf 100644 --- a/src/libYARP_os/src/yarp/os/impl/NameConfig.cpp +++ b/src/libYARP_os/src/yarp/os/impl/NameConfig.cpp @@ -80,7 +80,7 @@ bool NameConfig::fromString(const std::string& txt) } if (ss.size() >= 2) { - address = Contact(ss[0]), yarp::conf::numeric::from_string(ss[1]); + address = Contact(ss[0], yarp::conf::numeric::from_string(ss[1])); if (ss.size() >= 3) { mode = ss.at(2); } else {