diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-29 17:04:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-29 17:04:12 +0200 |
commit | 9fce7614c1ed467037c2e39b6d2e9f7d49197dfb (patch) | |
tree | 1c9f98e7e3aa7da831e3c768fe7130442333048a /src/p2p | |
parent | Merge pull request #3478 (diff) | |
parent | fix lambda compile error on openbsd (diff) | |
download | monero-9fce7614c1ed467037c2e39b6d2e9f7d49197dfb.tar.xz |
Merge pull request #3503
8ff2cc75 fix lambda compile error on openbsd (moneromooo-monero)
Diffstat (limited to 'src/p2p')
-rw-r--r-- | src/p2p/net_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.cpp b/src/p2p/net_node.cpp index bde6fc88e..c9ca63f43 100644 --- a/src/p2p/net_node.cpp +++ b/src/p2p/net_node.cpp @@ -39,7 +39,7 @@ namespace nodetool , "Port for p2p network protocol" , std::to_string(config::P2P_DEFAULT_PORT) , {{ &cryptonote::arg_testnet_on, &cryptonote::arg_stagenet_on }} - , [](std::array<bool, 2> testnet_stagenet, bool defaulted, std::string val) { + , [](std::array<bool, 2> testnet_stagenet, bool defaulted, std::string val)->std::string { if (testnet_stagenet[0] && defaulted) return std::to_string(config::testnet::P2P_DEFAULT_PORT); else if (testnet_stagenet[1] && defaulted) |