Commit bf0086f1 by Jonathan Wakely Committed by Jonathan Wakely

PR libstdc++/86595 add missing noexcept

	PR libstdc++/86595
	* include/bits/fs_dir.h (directory_entry::refresh(error_code&)): Add
	noexcept.

From-SVN: r262904
parent 2143168e
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 ...@@ -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; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment