mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
NetPlayClient: Use std::array instead of C arrays for buffers
This commit is contained in:
parent
7304c863a6
commit
c434b5b3a9
2 changed files with 17 additions and 7 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
@ -94,8 +95,8 @@ protected:
|
|||
|
||||
Common::FifoQueue<std::unique_ptr<sf::Packet>, false> m_async_queue;
|
||||
|
||||
Common::FifoQueue<GCPadStatus> m_pad_buffer[4];
|
||||
Common::FifoQueue<NetWiimote> m_wiimote_buffer[4];
|
||||
std::array<Common::FifoQueue<GCPadStatus>, 4> m_pad_buffer;
|
||||
std::array<Common::FifoQueue<NetWiimote >, 4> m_wiimote_buffer;
|
||||
|
||||
NetPlayUI* m_dialog = nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue