Skip to content

Commit

Permalink
Fix regression in 'yarp conf' command
Browse files Browse the repository at this point in the history
  • Loading branch information
drdanz committed Mar 30, 2021
1 parent de86b44 commit f593fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libYARP_os/src/yarp/os/impl/NameConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bool NameConfig::fromString(const std::string& txt)
}

if (ss.size() >= 2) {
address = Contact(ss[0]), yarp::conf::numeric::from_string<int>(ss[1]);
address = Contact(ss[0], yarp::conf::numeric::from_string<int>(ss[1]));
if (ss.size() >= 3) {
mode = ss.at(2);
} else {
Expand Down

0 comments on commit f593fec

Please sign in to comment.