]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove incorrect assertion from filesystem::absolute
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 22:52:10 +0000 (22:52 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 22:52:10 +0000 (22:52 +0000)
commit4a0707eae87f9bae60845054390991377235054f
tree7ef2b8fa926d7437d2f1b87a551eac6336d4c354
parentde24e7c39d32865eeacf99758fa65c1d1760ac12
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271300 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++17/fs_ops.cc