diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-02-18 14:06:47 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-02-18 14:06:47 -0500 |
commit | 6556c33f133782b682938f14360cc6aeb39901c3 (patch) | |
tree | 8ee3c410f75a25d63adc96e94c46e81174f6cb2f /src/simplewallet | |
parent | Merge pull request #7352 (diff) | |
parent | Remove copies from foreach loops (thanks to Clang) (diff) | |
download | monero-6556c33f133782b682938f14360cc6aeb39901c3.tar.xz |
Merge pull request #7355
bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9 Removing unused namespace alias (Lee Clagett)
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index df3bf14d9..2a3c33f48 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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); |