PR libstdc++/86595
* include/bits/fs_dir.h (directory_entry::refresh(error_code&)): Add
noexcept.
From-SVN: r262904
+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>
* include/bits/shared_ptr_base.h (_Sp_make_shared_tag::_S_ti): Use
refresh(__ec);
}
- void refresh() { _M_type = symlink_status().type(); }
- void refresh(error_code& __ec) { _M_type = symlink_status(__ec).type(); }
+ void
+ refresh()
+ { _M_type = symlink_status().type(); }
+
+ void
+ refresh(error_code& __ec) noexcept
+ { _M_type = symlink_status(__ec).type(); }
// observers
const filesystem::path& path() const noexcept { return _M_path; }