apple/AudioObject: call AllocatedArray::data() instead of begin()
Since commit 5fb97b81d1
, begin() returns
an iterator class and not a pointer.
Fixes one part of https://github.com/MusicPlayerDaemon/MPD/issues/1538
This commit is contained in:
parent
8ee442e9b1
commit
fd47edb905
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user