Skip to content

Commit 58462b4

Browse files
[oneDPL] nanorange conflict std names fix: define NANORANGE_NO_STD_FORWARD_DECLARATIONS (#705)
(cherry picked from commit f751491) Co-authored-by: Mikhail Dvorskiy <[email protected]>
1 parent 8f23141 commit 58462b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/oneapi/dpl/pstl/ranges/nanorange.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
{ \
120120
inline constexpr type name{}; \
121121
}
122-
122+
# define NANORANGE_NO_STD_FORWARD_DECLARATIONS
123123
# if defined(_LIBCPP_VERSION)
124124
# define NANO_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_NAMESPACE_STD
125125
# define NANO_END_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD

0 commit comments

Comments
 (0)