mirror of
https://github.com/monero-project/monero.git
synced 2025-10-12 01:00:39 -04:00
Merge pull request #3502
11c933e1
fix lambda compile error on openbsd (moneromooo-monero)
This commit is contained in:
commit
5053f8f40b
5 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue