citra-emu
/
citra-canary
Archived
1
0
Fork 0

Warnings/Network: Initialize the members of Room::RoomImpl in the order they are defined.

This commit is contained in:
Subv 2020-04-10 18:35:53 -05:00
parent 7903f6fbfc
commit d17557c02c
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public:
mutable std::mutex ban_list_mutex; ///< Mutex for the ban lists mutable std::mutex ban_list_mutex; ///< Mutex for the ban lists
RoomImpl() RoomImpl()
: random_gen(std::random_device()()), NintendoOUI{0x00, 0x1F, 0x32, 0x00, 0x00, 0x00} {} : NintendoOUI{0x00, 0x1F, 0x32, 0x00, 0x00, 0x00}, random_gen(std::random_device()()) {}
/// Thread that receives and dispatches network packets /// Thread that receives and dispatches network packets
std::unique_ptr<std::thread> room_thread; std::unique_ptr<std::thread> room_thread;