BPMemory: Silence a -Wmissing-braces warning

Fairly trivial to resolve, we just initialize the std::array with two
sets of braces (one set to create the array, the other to start and end the
aggregate data that we'll end up returning)
This commit is contained in:
Lioncash 2018-05-28 14:46:24 -04:00
parent a9f022a067
commit 72feeb4d18
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),
}};
}
};