Skip to content

Commit

Permalink
Merge pull request acts-project#601 from stephenswat/fix/is_pod
Browse files Browse the repository at this point in the history
Remove use of deprecated `std::is_pod` type trait
  • Loading branch information
stephenswat authored May 31, 2024
2 parents afa6b0e + 2ff219b commit 4617a00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/include/traccc/utils/array_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ struct pod<> {};

template <typename T, typename... Ts>
struct pod<T, Ts...> {
static_assert(std::is_pod_v<T>, "Types in POD-tuple must each be POD.");
static_assert(std::is_standard_layout_v<T> && std::is_trivial_v<T>,
"Types in POD-tuple must each be POD.");

T v;
pod<Ts...> r;
Expand Down

0 comments on commit 4617a00

Please sign in to comment.