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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Dec 17 2018, 08:48
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 17 2018, 08:48
Herald added a subscriber: schancel. · View Herald Transcript
Fabien edited the test plan for this revision. (Show Details)Dec 17 2018, 13:30
jasonbcox accepted this revision.Dec 17 2018, 23:33
This revision is now accepted and ready to land.Dec 17 2018, 23:33
Closed by commit rABC0860a9aca206: Use range based for loop (authored by René Nyffenegger <mail@renenyffenegger.ch>, committed by Fabien). · Explain WhyDec 19 2018, 10:56
This revision was automatically updated to reflect the committed changes.