PR libstdc++/83626 simplify filesystem::remove and filesystem::remove_all
commit4ca07db039fbf0bf9b024e1b1645667939c1194e
authorJonathan Wakely <jwakely@redhat.com>
Fri, 5 Jan 2018 23:51:22 +0000 (5 23:51 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 5 Jan 2018 23:51:22 +0000 (5 23:51 +0000)
treea646854c4baf6436ee417940f6aea54ec253a09e
parent2526c53acf9e80a917f157b527e3d4806208f230
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.

From-SVN: r256301
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc
libstdc++-v3/src/filesystem/std-ops.cc