libstdc++: Fix mismatched noexcept-specifiers in Filesystem TS
authorJonathan Wakely <jwakely@redhat.com>
Mon, 27 Sep 2021 21:07:12 +0000 (22:07 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Apr 2022 12:17:18 +0000 (13:17 +0100)
commit944da70a5d1cdc5bd4327b2d32420f57b6883985
tree33916d9eb4e3fb0b3f04acd2836ad48c79083a58
parentbfa9f660d25aef1513b1289d01c80b52090ef72a
libstdc++: Fix mismatched noexcept-specifiers in Filesystem TS

The copy_file fix should have been part of r12-7063-gda72e0fd20f87b.

The path::begin() fix should have been part of r12-3930-gf2b7f56a15d9cb.
Thanks to Timm Bäder for reporting this one.

libstdc++-v3/ChangeLog:

* include/experimental/bits/fs_fwd.h (copy_file): Remove
incorrect noexcept from declaration.
* include/experimental/bits/fs_path.h (path::begin, path::end):
Add noexcept to declarations, to match definitions.
libstdc++-v3/include/experimental/bits/fs_fwd.h
libstdc++-v3/include/experimental/bits/fs_path.h