diff options
Diffstat (limited to 'libcxx/include/__flat_map')
| -rw-r--r-- | libcxx/include/__flat_map/flat_map.h | 2 | ||||
| -rw-r--r-- | libcxx/include/__flat_map/key_value_iterator.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/__flat_map/flat_map.h b/libcxx/include/__flat_map/flat_map.h index b66bc1cb66fc..9fe84250b120 100644 --- a/libcxx/include/__flat_map/flat_map.h +++ b/libcxx/include/__flat_map/flat_map.h @@ -90,7 +90,7 @@ class flat_map { static_assert(!is_same_v<_MappedContainer, std::vector<bool>>, "vector<bool> is not a sequence container"); template <bool _Const> - using __iterator = __key_value_iterator<flat_map, _KeyContainer, _MappedContainer, _Const>; + using __iterator _LIBCPP_NODEBUG = __key_value_iterator<flat_map, _KeyContainer, _MappedContainer, _Const>; public: // types diff --git a/libcxx/include/__flat_map/key_value_iterator.h b/libcxx/include/__flat_map/key_value_iterator.h index 987ac677a413..06a23f342997 100644 --- a/libcxx/include/__flat_map/key_value_iterator.h +++ b/libcxx/include/__flat_map/key_value_iterator.h @@ -41,9 +41,9 @@ _LIBCPP_BEGIN_NAMESPACE_STD template <class _Owner, class _KeyContainer, class _MappedContainer, bool _Const> struct __key_value_iterator { private: - using __key_iterator = ranges::iterator_t<const _KeyContainer>; - using __mapped_iterator = ranges::iterator_t<__maybe_const<_Const, _MappedContainer>>; - using __reference = _If<_Const, typename _Owner::const_reference, typename _Owner::reference>; + using __key_iterator _LIBCPP_NODEBUG = ranges::iterator_t<const _KeyContainer>; + using __mapped_iterator _LIBCPP_NODEBUG = ranges::iterator_t<__maybe_const<_Const, _MappedContainer>>; + using __reference _LIBCPP_NODEBUG = _If<_Const, typename _Owner::const_reference, typename _Owner::reference>; struct __arrow_proxy { __reference __ref_; |
