mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #889
a0bf85d
wallet2_api: make this build (smatch needs .str() for /=) (moneromooo-monero)
This commit is contained in:
commit
18dd507024
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ std::vector<std::string> WalletManagerImpl::findWallets(const std::string &path)
|
||||||
bool matched = boost::regex_match(filename, what, wallet_rx);
|
bool matched = boost::regex_match(filename, what, wallet_rx);
|
||||||
if (matched) {
|
if (matched) {
|
||||||
// if keys file found, checking if there's wallet file itself
|
// 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)) {
|
if (boost::filesystem::exists(wallet_file)) {
|
||||||
LOG_PRINT_L3("Found wallet: " << wallet_file);
|
LOG_PRINT_L3("Found wallet: " << wallet_file);
|
||||||
result.push_back(wallet_file);
|
result.push_back(wallet_file);
|
||||||
|
|
Loading…
Reference in a new issue