diff options
Diffstat (limited to 'libcxx/include/__ranges/non_propagating_cache.h')
| -rw-r--r-- | libcxx/include/__ranges/non_propagating_cache.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/libcxx/include/__ranges/non_propagating_cache.h b/libcxx/include/__ranges/non_propagating_cache.h index 7255705256d7..d50c577fc30f 100644 --- a/libcxx/include/__ranges/non_propagating_cache.h +++ b/libcxx/include/__ranges/non_propagating_cache.h @@ -6,6 +6,7 @@  // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception  //  //===----------------------------------------------------------------------===// +  #ifndef _LIBCPP___RANGES_NON_PROPAGATING_CACHE_H  #define _LIBCPP___RANGES_NON_PROPAGATING_CACHE_H @@ -14,7 +15,6 @@  #include <__iterator/iterator_traits.h> // iter_reference_t  #include <__memory/addressof.h>  #include <__utility/forward.h> -#include <concepts>                     // constructible_from  #include <optional>  #include <type_traits> @@ -24,7 +24,7 @@  _LIBCPP_BEGIN_NAMESPACE_STD -#if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) +#if _LIBCPP_STD_VER > 17  namespace ranges {    // __non_propagating_cache is a helper type that allows storing an optional value in it, @@ -107,7 +107,7 @@ namespace ranges {    struct __empty_cache { };  } // namespace ranges -#endif // _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) +#endif // _LIBCPP_STD_VER > 17  _LIBCPP_END_NAMESPACE_STD | 
