Merge pull request #7004 from lioncash/bp

BPMemory: Silence a -Wmissing-braces warning
This commit is contained in:
JosJuice 2018-05-28 21:16:28 +02:00 committed by GitHub
commit b2d8d2a398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -984,10 +984,15 @@ union CopyFilterCoefficients
Values GetCoefficients() const
{
return {
static_cast<u8>(w0), static_cast<u8>(w1), static_cast<u8>(w2), static_cast<u8>(w3),
static_cast<u8>(w4), static_cast<u8>(w5), static_cast<u8>(w6),
};
return {{
static_cast<u8>(w0),
static_cast<u8>(w1),
static_cast<u8>(w2),
static_cast<u8>(w3),
static_cast<u8>(w4),
static_cast<u8>(w5),
static_cast<u8>(w6),
}};
}
};