Message ID | YVdkSrtDupmmVIgm@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Add noexcept to common_iterator proxy operators | expand |
diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index 4973f792b56..8517652a173 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -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; } };