We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525981e commit e661e00Copy full SHA for e661e00
1 file changed
modules/yup_audio_devices/native/yup_CoreAudio_mac.cpp
@@ -42,6 +42,7 @@ namespace yup
42
43
YUP_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnonnull")
44
45
+//==============================================================================
46
constexpr auto yupAudioObjectPropertyElementMain =
47
#if defined(MAC_OS_VERSION_12_0)
48
kAudioObjectPropertyElementMain;
@@ -596,7 +597,7 @@ struct IgnoreUnused
596
597
template <typename T>
598
static auto getDataPtrAndSize (T& t)
599
{
- static_assert (std::is_pod_v<T>);
600
+ static_assert (std::is_standard_layout_v<T>);
601
return std::make_tuple (&t, (UInt32) sizeof (T));
602
}
603
0 commit comments