From 1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 8 Feb 2024 22:35:09 +0100 Subject: C++11: Use default member initializers This patch is not exhaustive. --- src/net/manaserv/connection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/manaserv/connection.cpp') diff --git a/src/net/manaserv/connection.cpp b/src/net/manaserv/connection.cpp index 4bc57695..d439f964 100644 --- a/src/net/manaserv/connection.cpp +++ b/src/net/manaserv/connection.cpp @@ -32,9 +32,8 @@ namespace ManaServ { Connection::Connection(ENetHost *client): - mConnection(nullptr), mClient(client) + mClient(client) { - mPort = 0; connections++; } -- cgit v1.2.3-70-g09d2