clang-modernize -use-auto convert for ucs/worldserver.cpp

This commit is contained in:
Michael Cook (mackal) 2015-01-09 02:57:00 -05:00
parent 09f37323d1
commit 502bb6ca79

View File

@ -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);