Skip to content

Commit

Permalink
Use uniform initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sbooth committed Apr 25, 2024
1 parent 4a61669 commit b62028a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CXXAudioUtilities/SFBCABufferList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ SFB::CABufferList& SFB::CABufferList::operator=(CABufferList&& rhs) noexcept
}

SFB::CABufferList::CABufferList(const CAStreamBasicDescription& format, UInt32 frameCapacity)
: CABufferList()
: CABufferList{}
{
if(format.mBytesPerFrame == 0)
throw std::invalid_argument("format.mBytesPerFrame == 0");
Expand Down

0 comments on commit b62028a

Please sign in to comment.