From db215d47ad00d95f55ce65a48b372f7dd2d46bf2 Mon Sep 17 00:00:00 2001 From: MikeDvorskiy Date: Thu, 16 Mar 2023 14:05:13 +0100 Subject: [PATCH] [oneDPL] a hot fix for 'permutation_view_simple' pseudo range (#844) --- include/oneapi/dpl/pstl/utils_ranges.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/oneapi/dpl/pstl/utils_ranges.h b/include/oneapi/dpl/pstl/utils_ranges.h index cfac1a34fa5..f40bf036b0d 100644 --- a/include/oneapi/dpl/pstl/utils_ranges.h +++ b/include/oneapi/dpl/pstl/utils_ranges.h @@ -342,7 +342,7 @@ struct transform_view_simple template auto -test_map_view(int) -> decltype(::std::declval<_Map>().begin(), ::std::true_type{}); +test_map_view(int) -> decltype(::std::declval<_Map>()[0], ::std::true_type{}); template auto