1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

CoreAudio: Fix deprecation warning when building for C++20

This commit is contained in:
reuk 2023-08-31 21:33:26 +01:00
parent 9ecd9eb61e
commit 9b131c9628
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -467,7 +467,7 @@ public:
auto newBitDepth = jmax (getBitDepth (newInput), getBitDepth (newOutput));
#if JUCE_AUDIOWORKGROUP_TYPES_AVAILABLE
audioWorkgroup = [=]() -> AudioWorkgroup
audioWorkgroup = [this]() -> AudioWorkgroup
{
AudioObjectPropertyAddress pa;
pa.mSelector = kAudioDevicePropertyIOThreadOSWorkgroup;