mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 22:12:15 -07:00
[Fix-Warnings] Replace types with auto for libcockatrice/network/ files
This commit is contained in:
parent
3a6cb9ff65
commit
b67a262cfd
3 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue