Skip to content
Commit f1537708 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

[libcxx] [test] Use string().c_str() to convert a std::filesystem::path to a const char*

On Windows, path::value_type is wchar_t, so one can't pass the return
value of path::c_str() directly to std::remove().

This matches what was done for tests under std/input.output/filesystems
in 81db3c31 and
3784bdf2.

Differential Revision: https://reviews.llvm.org/D97458
parent 3573a90b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment