aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/blockdef_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/blockdef_test.cpp')
-rw-r--r--host/tests/blockdef_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/blockdef_test.cpp b/host/tests/blockdef_test.cpp
index 7a663f514..a95cbdc00 100644
--- a/host/tests/blockdef_test.cpp
+++ b/host/tests/blockdef_test.cpp
@@ -24,7 +24,7 @@ BOOST_AUTO_TEST_CASE(test_lookup)
{0x5CC0000000000000, "SchmidlCox"}};
std::cout << blocknames.size() << std::endl;
- for (const auto block : blocknames) {
+ for (const auto& block : blocknames) {
std::cout << "Testing " << block.second << " => "
<< str(boost::format("%016X") % block.first) << std::endl;
auto block_definition = blockdef::make_from_noc_id(block.first);