Skip to content

Commit 9e0d6f5

Browse files
committed
is_pod is deprecated
1 parent f192834 commit 9e0d6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MeshField_Scan.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ template <typename ExecutionSpace, typename KernelType, typename resultant>
88
void parallel_scan(ExecutionSpace, std::string tag, int64_t start_index,
99
int64_t end_index, KernelType &scanKernel,
1010
resultant &result) {
11-
static_assert(std::is_pod<resultant>::value);
11+
static_assert(std::is_standard_layout<resultant>::value && std::is_trivial<resultant>::value);
1212
Kokkos::RangePolicy<ExecutionSpace, Kokkos::IndexType<int64_t>> p(start_index,
1313
end_index);
1414
Kokkos::parallel_scan(tag, p, scanKernel, result);

0 commit comments

Comments
 (0)