mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Fix all uninitialized variable warnings (C26495)
This commit is contained in:
parent
525e6b2194
commit
78bfd25964
111 changed files with 638 additions and 651 deletions
|
@ -59,9 +59,9 @@ public:
|
|||
}
|
||||
|
||||
template <typename T, std::size_t N>
|
||||
bool ReadArray(std::array<T, N>& elements, size_t* num_read = nullptr)
|
||||
bool ReadArray(std::array<T, N>* elements, size_t* num_read = nullptr)
|
||||
{
|
||||
return ReadArray(elements.data(), elements.size(), num_read);
|
||||
return ReadArray(elements->data(), elements->size(), num_read);
|
||||
}
|
||||
|
||||
template <typename T, std::size_t N>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue