PR libstdc++/83626 simplify filesystem::remove and filesystem::remove_all
commitb160a9943f15d5f6d055897453759351dcc21e2b
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2018 23:51:22 +0000 (5 23:51 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jan 2018 23:51:22 +0000 (5 23:51 +0000)
treea646854c4baf6436ee417940f6aea54ec253a09e
parent53a3eac0f1acca815e1871d459c0cdddb922ca3c
PR libstdc++/83626 simplify filesystem::remove and filesystem::remove_all

PR libstdc++/83626
* src/filesystem/ops.cc (remove(const path&, error_code&)): Remove
unnecessary symlink_status call.
(remove_all(const path&, error_code&)): Use filesystem::remove.
* src/filesystem/std-ops.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256301 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc
libstdc++-v3/src/filesystem/std-ops.cc