[Fix-Warnings] Replace types with auto for libcockatrice/network/ files

This commit is contained in:
Brübach, Lukas 2025-11-28 22:36:00 +01:00
parent 3a6cb9ff65
commit b67a262cfd
3 changed files with 5 additions and 5 deletions

View file

@ -286,7 +286,7 @@ void Server::externalUserJoined(const ServerInfo_User &userInfo)
// This function is always called from the main thread via signal/slot.
clientsLock.lockForWrite();
Server_RemoteUserInterface *newUser = new Server_RemoteUserInterface(this, ServerInfo_User_Container(userInfo));
auto *newUser = new Server_RemoteUserInterface(this, ServerInfo_User_Container(userInfo));
externalUsers.insert(QString::fromStdString(userInfo.name()), newUser);
externalUsersBySessionId.insert(userInfo.session_id(), newUser);