mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 18:00:50 -04:00
Merge pull request #7355
bd12984
Remove copies from foreach loops (thanks to Clang) (Lee Clagett)1572df9
Removing unused namespace alias (Lee Clagett)
This commit is contained in:
commit
6556c33f13
9 changed files with 17 additions and 19 deletions
|
@ -9521,7 +9521,7 @@ void simple_wallet::print_accounts()
|
|||
{
|
||||
const std::pair<std::map<std::string, std::string>, std::vector<std::string>>& account_tags = m_wallet->get_account_tags();
|
||||
size_t num_untagged_accounts = m_wallet->get_num_subaddress_accounts();
|
||||
for (const std::pair<std::string, std::string>& p : account_tags.first)
|
||||
for (const std::pair<const std::string, std::string>& p : account_tags.first)
|
||||
{
|
||||
const std::string& tag = p.first;
|
||||
print_accounts(tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue