We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6c46c commit ec47ce0Copy full SHA for ec47ce0
divi/src/test/coins_tests.cpp
@@ -128,7 +128,7 @@ BOOST_AUTO_TEST_CASE(coins_cache_simulation_test)
128
129
// Once every 1000 iterations and at the end, verify the full cache.
130
if (insecure_rand() % 1000 == 1 || i == NUM_SIMULATION_ITERATIONS - 1) {
131
- for (std::map<uint256, CCoins>::iterator it = result.begin(); it != result.end(); it++) {
+ for (auto it = result.begin(); it != result.end(); it++) {
132
const CCoins* coins = stack.back()->AccessCoins(it->first);
133
if (coins) {
134
BOOST_CHECK(*coins == it->second);
0 commit comments