mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
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:
parent
a9f022a067
commit
72feeb4d18
1 changed files with 9 additions and 4 deletions
|
@ -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),
|
||||
}};
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue