diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-27 14:47:57 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-27 14:48:36 +0100 |
commit | 11c933e1374a7ac18fe3a2e89ab19fbf290b8149 (patch) | |
tree | f0d402bdb6fcac2b6aeb4266ec3b770219c9466f /src/cryptonote_core | |
parent | Merge pull request #3434 (diff) | |
download | monero-11c933e1374a7ac18fe3a2e89ab19fbf290b8149.tar.xz |
fix lambda compile error on openbsd
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
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]) |