mirror of
https://github.com/monero-project/monero.git
synced 2025-08-14 00:35:38 -04:00
fix lambda compile error on openbsd
This commit is contained in:
parent
8361d60aef
commit
11c933e137
5 changed files with 7 additions and 7 deletions
|
@ -81,7 +81,7 @@ namespace cryptonote
|
|||
, "Specify data directory"
|
||||
, tools::get_default_data_dir()
|
||||
, {{ &arg_testnet_on, &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])
|
||||
return (boost::filesystem::path(val) / "testnet").string();
|
||||
else if (testnet_stagenet[1])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue