Page MenuHomePhabricator

Add missing <optional> headers
ClosedPublic

Authored by Fabien on May 25 2021, 07:57.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCf7e0e1df575d: Add missing <optional> headers
Summary

This is a leftover from D8494: when switching from boost::optional to
std::optional the headers were not updated.

Also added a missing <limits> include in the FuzzDataProvider.h that
supposedly was pulled indirectly. Note that <climits> cannot be removed
due to CHAR_BIT.

Test Plan

On an up-to-date archlinux:

ninja all check
ninja bitcoin-fuzzers

Event Timeline

Fabien requested review of this revision.May 25 2021, 07:57
This revision is now accepted and ready to land.May 25 2021, 08:30
This revision was automatically updated to reflect the committed changes.