diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h index f7b8905d8ab..48695c013f3 100644 --- a/libstdc++-v3/include/bits/hashtable.h +++ b/libstdc++-v3/include/bits/hashtable.h @@ -3012,7 +3012,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION = __enable_if_t, __is_allocator<_Hash>>::value>; #endif -#ifdef __cpp_concepts +#ifdef __glibcxx_associative_heterogeneous_erasure // C++ >= 23 template concept __heterogeneous_hash_key = __transparent_comparator && diff --git a/libstdc++-v3/include/bits/stl_function.h b/libstdc++-v3/include/bits/stl_function.h index 1312564216b..95c24d44b9e 100644 --- a/libstdc++-v3/include/bits/stl_function.h +++ b/libstdc++-v3/include/bits/stl_function.h @@ -1525,7 +1525,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif #endif -#ifdef __glibcxx_associative_heterogeneous_erasure +#ifdef __glibcxx_associative_heterogeneous_erasure // C++ >= 23 template concept __not_container_iterator = (!is_convertible_v<_Kt&&, typename _Container::iterator> && diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index 7a733241ec5..5d361b55028 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -3315,7 +3315,7 @@ namespace __rb_tree }; #endif // C++17 -#ifdef __cpp_concepts +#ifdef __glibcxx_associative_heterogeneous_erasure // C++ >= 23 template concept __heterogeneous_tree_key = __transparent_comparator &&