Merge pull request #3502

11c933e1 fix lambda compile error on openbsd (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-04-12 11:14:43 +02:00
commit 5053f8f40b
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
5 changed files with 7 additions and 7 deletions

View file

@ -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])