diff --git a/libstdc++-v3/include/bits/stl_function.h b/libstdc++-v3/include/bits/stl_function.h index edbbfe11b96..657f40bca2e 100644 --- a/libstdc++-v3/include/bits/stl_function.h +++ b/libstdc++-v3/include/bits/stl_function.h @@ -1533,7 +1533,8 @@ template template concept __heterogeneous_key = - (!is_same_v>) && + (!is_same_v::type>) && __not_container_iterator<_Kt, _Container>; #endif