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:
parent
5ce2fc388e
commit
3f1e945b78
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue