Remove incorrect assertion from filesystem::absolute
authorJonathan Wakely <jwakely@redhat.com>
Thu, 16 May 2019 22:52:10 +0000 (23:52 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 16 May 2019 22:52:10 +0000 (23:52 +0100)
commit7110128236989c9f957b7345d5615e9df8a337f2
tree7ef2b8fa926d7437d2f1b87a551eac6336d4c354
parentafc819e866602cfd1d15f578c33435fd7058f08e
Remove incorrect assertion from filesystem::absolute

The assertion is wrong, it should be *s.end() == 0, but that's not
allowed. Just remove it, but keep the comment.

* src/c++17/fs_ops.cc (absolute(const path&, error_code&))
[_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove bogus assertion.

From-SVN: r271300
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++17/fs_ops.cc