commit | d7d793ce4fc36c2e821147e95189f40e7a920fe7 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Thu Nov 26 03:15:48 2020 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Thu Nov 26 10:24:05 2020 +0100 |
tree | 578adbeb30c79b93cacea589880f47b1cb5116fd | |
parent | 9fc6906f936be07651a2c7ebaefdf11cf43c542d [diff] [blame] |
C++20: Use designated initializers I wasn't pedantic on where to use them. Change-Id: I0cb38d422ebb2fe274495183ffc31d60078d3245
diff --git a/src/cli-netconf.cpp b/src/cli-netconf.cpp index 4f9275a..b70e7bc 100644 --- a/src/cli-netconf.cpp +++ b/src/cli-netconf.cpp
@@ -32,5 +32,5 @@ "netconf", bp::std_out > out, bp::std_in < in); - return {std::move(ssh), std::move(in), std::move(out)}; + return {.process = std::move(ssh), .std_in = std::move(in), .std_out = std::move(out)}; }