From aa474e4501f460ba853dc70ff4d97cbd061e6704 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 5 Mar 2015 11:39:05 +0100 Subject: Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions --- src/network/packethandlers/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') diff --git a/src/network/packethandlers/server.cpp b/src/network/packethandlers/server.cpp index 62ce7eb55..a11e8dc2f 100644 --- a/src/network/packethandlers/server.cpp +++ b/src/network/packethandlers/server.cpp @@ -419,7 +419,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt) void Server::handleCommand_RequestMedia(NetworkPacket* pkt) { - std::list tosend; + std::vector tosend; u16 numfiles; *pkt >> numfiles; -- cgit v1.2.3