aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-27 14:47:57 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-27 14:49:54 +0100
commit8ff2cc751d70839394e8ae2e5b7de6e77d91e9bc (patch)
tree5859b6619cc7afb3d0fde526bbbb29459e407eb6 /src/cryptonote_core
parentMerge pull request #3429 (diff)
downloadmonero-8ff2cc751d70839394e8ae2e5b7de6e77d91e9bc.tar.xz
fix lambda compile error on openbsd
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 adccd0469..1b3fc6cc0 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])