aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities
diff options
context:
space:
mode:
authorS <rockhouse@users.noreply.github.com>2018-06-04 12:02:06 +0200
committerS <rockhouse@users.noreply.github.com>2018-06-04 13:44:17 +0200
commitafed9787cd11515a725bacf907c4f0b82ad6b35f (patch)
treefa97b2c391d7667a7fed7ef01068f51f4be2cad4 /src/blockchain_utilities
parentMerge pull request #3866 (diff)
downloadmonero-afed9787cd11515a725bacf907c4f0b82ad6b35f.tar.xz
Fixes #3645: error on freebsd lambda return values forced to std::string
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r--src/blockchain_utilities/blockchain_blackball.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_blackball.cpp b/src/blockchain_utilities/blockchain_blackball.cpp
index 1243822bb..a613d73ad 100644
--- a/src/blockchain_utilities/blockchain_blackball.cpp
+++ b/src/blockchain_utilities/blockchain_blackball.cpp
@@ -165,7 +165,7 @@ int main(int argc, char* argv[])
"blackball-db-dir", "Specify blackball database directory",
get_default_db_path(),
{{ &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])