Use different ByteVector ctor

This commit is contained in:
Stephen F. Booth 2024-12-08 11:51:13 -06:00
parent fc1ec15e3e
commit 5b7a6f9fed
No known key found for this signature in database
GPG Key ID: 900AAC885063A183

View File

@ -390,8 +390,7 @@ void SHN::File::read(AudioProperties::ReadStyle propertiesStyle)
return;
}
ByteVector header{};
header.resize(header_size);
ByteVector header(header_size, 0);
auto iter = header.begin();
for(int32_t i = 0; i < header_size; ++i) {