From 1770862b102fee405718748a581235ffde724e2f Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 9 Jan 2015 03:05:14 -0500 Subject: [PATCH] clang-modernize -use-auto convert for world/lfplist.cpp --- world/lfplist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/lfplist.cpp b/world/lfplist.cpp index 47f91a8b3..f04a833dd 100644 --- a/world/lfplist.cpp +++ b/world/lfplist.cpp @@ -228,7 +228,7 @@ void GroupLFPList::SendLFPMatches(ServerLFPMatchesRequest_Struct* smrs) { } } - ServerPacket* Pack = new ServerPacket(ServerOP_LFPMatches, (sizeof(ServerLFPMatchesResponse_Struct) * Matches) + 4); + auto Pack = new ServerPacket(ServerOP_LFPMatches, (sizeof(ServerLFPMatchesResponse_Struct) * Matches) + 4); char *Buf = (char *)Pack->pBuffer;