From bd129849f0b634bddf64a195097b15d585e8f2bd Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Thu, 28 Jan 2021 23:42:40 -0500 Subject: Remove copies from foreach loops (thanks to Clang) --- src/simplewallet/simplewallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index dfd6adf3a..be3cc2b74 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -9466,7 +9466,7 @@ void simple_wallet::print_accounts() { const std::pair, std::vector>& account_tags = m_wallet->get_account_tags(); size_t num_untagged_accounts = m_wallet->get_num_subaddress_accounts(); - for (const std::pair& p : account_tags.first) + for (const std::pair& p : account_tags.first) { const std::string& tag = p.first; print_accounts(tag); -- cgit v1.2.3