summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/iterator_concepts.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/iterator_concepts.h')
-rw-r--r--libstdc++-v3/include/bits/iterator_concepts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/iterator_concepts.h b/libstdc++-v3/include/bits/iterator_concepts.h
index 9c28ebfb345..739017aaaad 100644
--- a/libstdc++-v3/include/bits/iterator_concepts.h
+++ b/libstdc++-v3/include/bits/iterator_concepts.h
@@ -120,6 +120,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
using __type = typename __result<_Tp>::type;
template<std::__detail::__dereferenceable _Tp>
+ [[nodiscard]]
constexpr __type<_Tp>
operator()(_Tp&& __e) const
noexcept(_S_noexcept<_Tp>())