Page MenuHomePhabricator

Use const in COutPoint class
ClosedPublic

Authored by Fabien on Wed, Mar 11, 22:26.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC4b1e7c09100b: Use const in COutPoint class
Summary
Refactoring:

    all cases of using (uint32_t) -1 in COutPoint class are replaced
with const;
    also all remaining instances of (UNSIGNED)-1 transformed to
std::numeric_limits<UNSIGNED>::max() (by @practicalswift).

Backport of core PR14838.

Test Plan
ninja check

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.Wed, Mar 11, 22:26
Herald added a reviewer: Restricted Project. · View Herald TranscriptWed, Mar 11, 22:26
teamcity edited the summary of this revision. (Show Details)Wed, Mar 11, 22:27

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix accepted this revision.Thu, Mar 12, 15:20
This revision is now accepted and ready to land.Thu, Mar 12, 15:20
This revision was automatically updated to reflect the committed changes.