Page MenuHomePhabricator

[backport#17316] refactor: Replace all uses of boost::optional with our own Optional type
ClosedPublic

Authored by majcosta on Sep 7 2020, 22:34.

Details

Summary

refactor: Replace all uses of boost::optional with our own Optional type (Wladimir J. van der Laan)

Pull request description:

Replace all uses of boost::optional with our own Optional type. Luckily, there aren't so many.

After this:

- `boost::optional` is no longer used directly (only through `Optional` which is an alias for it)
- `boost/optional.hpp` is only included in one place

Backport of Core PR17316

Test Plan
ninja check check-functional

Diff Detail

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

Event Timeline

majcosta requested review of this revision.Sep 7 2020, 22:34

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

This revision is now accepted and ready to land.Sep 8 2020, 06:12