diff --git a/src/apple/AudioObject.hxx b/src/apple/AudioObject.hxx index ff0362dd4..d6ab5f4af 100644 --- a/src/apple/AudioObject.hxx +++ b/src/apple/AudioObject.hxx @@ -95,7 +95,7 @@ AudioObjectGetPropertyDataArray(AudioObjectID inObjectID, status = AudioObjectGetPropertyData(inObjectID, &inAddress, 0, nullptr, - &size, result.begin()); + &size, result.data()); if (status != noErr) Apple::ThrowOSStatus(status);