fix lambda compile error on openbsd

This commit is contained in:
moneromooo-monero
2018-03-27 14:47:57 +01:00
parent 5710edf040
commit 8ff2cc751d
5 changed files with 7 additions and 7 deletions

View File

@@ -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;