mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Common/TraversalProto: Move interface into Common namespace
Gets the types out of the global namespace.
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
#include <cstddef>
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
constexpr size_t NETPLAY_CODE_SIZE = 8;
|
||||
using TraversalHostId = std::array<char, NETPLAY_CODE_SIZE>;
|
||||
using TraversalRequestId = u64;
|
||||
@ -92,3 +94,4 @@ struct TraversalPacket
|
||||
};
|
||||
};
|
||||
#pragma pack(pop)
|
||||
} // namespace Common
|
||||
|
Reference in New Issue
Block a user