[libc++] Fix filesystem test in C++11/14
authorLouis Dionne <ldionne@apple.com>
Tue, 27 Oct 2020 15:21:33 +0000 (11:21 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 27 Oct 2020 15:21:33 +0000 (11:21 -0400)
commit2479b3d7c6f87a3aeb150cb02b0c39e428d0b8bc
treed99c7af995b8d19209d04cce8ec9b0a25c436fce
parent548772fe69ad518463906300acff5b77a05efe0e
[libc++] Fix filesystem test in C++11/14

Before C++17, std::string::data() was marked as const, so we can't use
it to write to the contents of the string.
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp