1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Replace is_pod_v (deprecated by C++23) with is_standard_layout

This commit is contained in:
attila 2024-07-10 17:21:44 +02:00
parent 5ce2fc388e
commit 3f1e945b78

View file

@ -118,7 +118,7 @@ struct IgnoreUnused
template <typename T>
static auto getDataPtrAndSize (T& t)
{
static_assert (std::is_pod_v<T>);
static_assert (std::is_standard_layout_v<T>);
return std::make_tuple (&t, (UInt32) sizeof (T));
}