From a0bf85d09d07e0e2a893a46161a195e87dc3e8c6 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 7 Jul 2016 22:42:59 +0100 Subject: [PATCH] wallet2_api: make this build (smatch needs .str() for /=) --- src/wallet/api/wallet_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp index 4ed6e09fb..bf072ccca 100644 --- a/src/wallet/api/wallet_manager.cpp +++ b/src/wallet/api/wallet_manager.cpp @@ -101,7 +101,7 @@ std::vector WalletManagerImpl::findWallets(const std::string &path) bool matched = boost::regex_match(filename, what, wallet_rx); if (matched) { // if keys file found, checking if there's wallet file itself - std::string wallet_file = (itr->path().parent_path() /= what[1]).string(); + std::string wallet_file = (itr->path().parent_path() /= what[1].str()).string(); if (boost::filesystem::exists(wallet_file)) { LOG_PRINT_L3("Found wallet: " << wallet_file); result.push_back(wallet_file);