HomePhabricator

Make fs.h C++20 compliant and improve fs::PathToString documentation

Description

Make fs.h C++20 compliant and improve fs::PathToString documentation

Summary:
Without the changes, the file will fail to compile under C++20 because
char8_t can not be converted to char implicitly.

This is a backport of core#23522 and core#24169
https://github.com/bitcoin/bitcoin/pull/24169/commits/fabb7c4ba629ecdea80a23674e2659d3d391565f
https://github.com/bitcoin/bitcoin/pull/23522/commits/9b575f1c734c052b695ce921fb6412b22c18fdb4

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Mar 11 2022, 10:21
PiRKCommitted on Jan 30 2024, 15:42
teamcityPushed on Jan 30 2024, 15:45
Parents
rSTAGINGc191cd2f55ca: scheduler: Capture ‘this’ explicitly in lambda
Branches
Unknown
Tags
Unknown

Event Timeline