mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Merge pull request #3924
afed978
Fixes #3645: error on freebsd lambda return values forced to std::string (rockhouse)
This commit is contained in:
commit
7935bc5f6b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ int main(int argc, char* argv[])
|
|||
"blackball-db-dir", "Specify blackball database directory",
|
||||
get_default_db_path(),
|
||||
{{ &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…
Reference in a new issue