HomePhabricator

Add missing <optional> headers

Description

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D9576

Details

Provenance
FabienAuthored on May 25 2021, 07:28
FabienPushed on May 25 2021, 08:45
Reviewer
Restricted Project
Differential Revision
D9576: Add missing <optional> headers
Parents
rABCa11aba33476e: [test] Remove final references to mininode
Branches
Unknown
Tags
Unknown