HomePhabricator

fix OSX build failure related to Span deduction guide in macro

Description

fix OSX build failure related to Span deduction guide in macro

Summary:
It seems that some compilers don't support user-defined deduction guides (D14768) wrapped in macros.
So create the Span before using it in READWRITE.

Test Plan:
ninja all check-all
build osx

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Nov 13 2023, 07:58
PiRKPushed on Nov 13 2023, 08:52
Reviewer
Restricted Project
Differential Revision
D14775: fix OSX build failure related to Span deduction guide in macro
Parents
rABC21d6baa0b115: More Span simplifications
Branches
Unknown
Tags
Unknown