libstdc++: Add noexcept to common_iterator proxy operators
Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * include/bits/stl_iterator.h (common_iterator::__arrow_proxy) (common_iterator::__postfix_proxy): Add noexcept.
This commit is contained in:
parent
d335d73889
commit
ce709ad3dc
1 changed files with 2 additions and 2 deletions
|
@ -1813,7 +1813,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
|
||||
public:
|
||||
const iter_value_t<_It>*
|
||||
operator->() const
|
||||
operator->() const noexcept
|
||||
{ return std::__addressof(_M_keep); }
|
||||
};
|
||||
|
||||
|
@ -1828,7 +1828,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||
|
||||
public:
|
||||
const iter_value_t<_It>&
|
||||
operator*() const
|
||||
operator*() const noexcept
|
||||
{ return _M_keep; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue