aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-04-12 11:14:43 +0200
committerRiccardo Spagni <ric@spagni.net>2018-04-12 11:14:43 +0200
commit5053f8f40b83ebfaa0fe68194cc8842ab11272b0 (patch)
tree1c9f98e7e3aa7da831e3c768fe7130442333048a /src/cryptonote_core
parentMerge pull request #3536 (diff)
parentfix lambda compile error on openbsd (diff)
downloadmonero-5053f8f40b83ebfaa0fe68194cc8842ab11272b0.tar.xz
Merge pull request #3502
11c933e1 fix lambda compile error on openbsd (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index e4a4cb2f1..4d852fc99 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -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])