diff options
| author | Lee Clagett <code@leeclagett.com> | 2021-01-28 23:42:40 -0500 |
|---|---|---|
| committer | Lee Clagett <code@leeclagett.com> | 2021-01-28 23:42:40 -0500 |
| commit | bd129849f0b634bddf64a195097b15d585e8f2bd (patch) | |
| tree | a8aba2ce30da01d1310b468b8cc63dac2e044cf6 /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 1572df9e26eeeee9ee4236246f390fcdd50253cf (diff) | |
| download | monzero-core-bd129849f0b634bddf64a195097b15d585e8f2bd.tar.gz monzero-core-bd129849f0b634bddf64a195097b15d585e8f2bd.tar.xz monzero-core-bd129849f0b634bddf64a195097b15d585e8f2bd.zip | |
Remove copies from foreach loops (thanks to Clang)
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 12125fb9d..57104fd59 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -630,7 +630,7 @@ namespace cryptonote void operator()(std::uint64_t, epee::span<const block> blocks) const { - for (const block bl : blocks) + for (const block& bl : blocks) cmdline.notify("%s", epee::string_tools::pod_to_hex(get_block_hash(bl)).c_str(), NULL); } }; |
