wallet2_api: make this build (smatch needs .str() for /=)

pull/95/head
moneromooo-monero 8 years ago
parent 59172156bf
commit a0bf85d09d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -101,7 +101,7 @@ std::vector<std::string> 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);

Loading…
Cancel
Save