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

Fix type is_pod trait for GCC 10.2. #1338

Merged
merged 1 commit into from
Nov 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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