mirror of git://gcc.gnu.org/git/gcc.git
PR libstdc++/86595 add missing noexcept
PR libstdc++/86595 * include/bits/fs_dir.h (directory_entry::refresh(error_code&)): Add noexcept. From-SVN: r262904
This commit is contained in:
parent
2143168e07
commit
bf0086f1c8
|
|
@ -1,3 +1,9 @@
|
||||||
|
2018-07-20 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
PR libstdc++/86595
|
||||||
|
* include/bits/fs_dir.h (directory_entry::refresh(error_code&)): Add
|
||||||
|
noexcept.
|
||||||
|
|
||||||
2018-07-20 Fangrui Song <maskray@google.com>
|
2018-07-20 Fangrui Song <maskray@google.com>
|
||||||
|
|
||||||
* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Use
|
* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Use
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,13 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
|
||||||
refresh(__ec);
|
refresh(__ec);
|
||||||
}
|
}
|
||||||
|
|
||||||
void refresh() { _M_type = symlink_status().type(); }
|
void
|
||||||
void refresh(error_code& __ec) { _M_type = symlink_status(__ec).type(); }
|
refresh()
|
||||||
|
{ _M_type = symlink_status().type(); }
|
||||||
|
|
||||||
|
void
|
||||||
|
refresh(error_code& __ec) noexcept
|
||||||
|
{ _M_type = symlink_status(__ec).type(); }
|
||||||
|
|
||||||
// observers
|
// observers
|
||||||
const filesystem::path& path() const noexcept { return _M_path; }
|
const filesystem::path& path() const noexcept { return _M_path; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue