Skip to content

Commit e661e00

Browse files
committed
Fix deprecated usage
1 parent 525981e commit e661e00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/yup_audio_devices/native/yup_CoreAudio_mac.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ namespace yup
4242

4343
YUP_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnonnull")
4444

45+
//==============================================================================
4546
constexpr auto yupAudioObjectPropertyElementMain =
4647
#if defined(MAC_OS_VERSION_12_0)
4748
kAudioObjectPropertyElementMain;
@@ -596,7 +597,7 @@ struct IgnoreUnused
596597
template <typename T>
597598
static auto getDataPtrAndSize (T& t)
598599
{
599-
static_assert (std::is_pod_v<T>);
600+
static_assert (std::is_standard_layout_v<T>);
600601
return std::make_tuple (&t, (UInt32) sizeof (T));
601602
}
602603

0 commit comments

Comments
 (0)