diff --git a/Source/Core/Common/TraversalProto.h b/Source/Core/Common/TraversalProto.h index d1fd082586..3d8e34de73 100644 --- a/Source/Core/Common/TraversalProto.h +++ b/Source/Core/Common/TraversalProto.h @@ -1,12 +1,14 @@ // This file is public domain, in case it's useful to anyone. -comex #pragma once + #include +#include #include "Common/CommonTypes.h" -#define NETPLAY_CODE_SIZE 8 -typedef std::array TraversalHostId; -typedef u64 TraversalRequestId; +constexpr size_t NETPLAY_CODE_SIZE = 8; +using TraversalHostId = std::array; +using TraversalRequestId = u64; enum class TraversalPacketType : u8 {