mirror of
https://github.com/monero-project/monero.git
synced 2026-01-27 06:44:33 +01:00
fix lambda compile error on openbsd
This commit is contained in:
@@ -145,7 +145,7 @@ struct options {
|
||||
"shared-ringdb-dir", tools::wallet2::tr("Set shared ring database path"),
|
||||
get_default_ringdb_path(),
|
||||
testnet,
|
||||
[](bool testnet, bool defaulted, std::string val) {
|
||||
[](bool testnet, bool defaulted, std::string val)->std::string {
|
||||
if (testnet)
|
||||
return (boost::filesystem::path(val) / "testnet").string();
|
||||
return val;
|
||||
|
||||
Reference in New Issue
Block a user