Page MenuHomePhabricator

Use range based for loop
ClosedPublic

Authored by Fabien on Dec 17 2018, 08:48.

Details

Summary

Instead of iterating over 0 .. 1 and then deciding on an actual desired
value, use a range based for loop for the desired value.

Backport of core PR10844

Test Plan
./src/test/test_bitcoin --run_test=dbwrapper_tests

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable