Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix type trait for GCC 10.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomilov authored and alliepiper committed Nov 11, 2020
1 parent f8eadce commit 84219dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thrust/detail/type_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ template<typename T> struct is_pod
|| __is_pod(T)
#elif THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_GCC
// only use the intrinsic for >= 4.3
#if (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 3)
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 403)
|| __is_pod(T)
#endif // GCC VERSION
#endif // THRUST_HOST_COMPILER
Expand Down

0 comments on commit 84219dc

Please sign in to comment.