mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 06:01:38 +00:00
clang-modernize -use-auto convert for ucs/worldserver.cpp
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ void WorldServer::Process()
|
||||
{
|
||||
char *Buffer = (char *)pack->pBuffer;
|
||||
|
||||
char *From = new char[strlen(Buffer) + 1];
|
||||
auto From = new char[strlen(Buffer) + 1];
|
||||
|
||||
VARSTRUCT_DECODE_STRING(From, Buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user