From cd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 26 Mar 2026 22:24:16 +0000 Subject: Switch typedefs to using statements. --- include/socket.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/socket.h') diff --git a/include/socket.h b/include/socket.h index 332bd6776..e869852b1 100644 --- a/include/socket.h +++ b/include/socket.h @@ -34,8 +34,8 @@ # include #else # include -typedef USHORT in_port_t; -typedef ADDRESS_FAMILY sa_family_t; +using in_port_t = USHORT; +using sa_family_t = ADDRESS_FAMILY; #endif #include @@ -185,7 +185,7 @@ struct CoreExport FailedPort final }; /** A list of failed port bindings, used for informational purposes on startup */ -typedef std::vector FailedPortList; +using FailedPortList = std::vector; #include "socketengine.h" @@ -210,7 +210,7 @@ public: } }; - typedef std::array IOHookProvList; + using IOHookProvList = std::array; /** IOHook providers for handling connections on this socket, * may be empty. -- cgit v1.3.1-10-gc9f91