NetPlayClient: Use std::array instead of C arrays for buffers

This commit is contained in:
Lioncash 2016-01-24 23:26:38 -05:00
commit c434b5b3a9
2 changed files with 17 additions and 7 deletions

View file

@ -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;