aboutsummaryrefslogtreecommitdiff
path: root/src/network/packethandlers
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-05 11:39:05 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-05 11:40:04 +0100
commitaa474e4501f460ba853dc70ff4d97cbd061e6704 (patch)
tree0e643cc958f04f4a8274e2e4ca41ef05a1908f7a /src/network/packethandlers
parent82482ecd9d45036da38335f7dd96232450338a28 (diff)
downloadminetest-aa474e4501f460ba853dc70ff4d97cbd061e6704.tar.gz
minetest-aa474e4501f460ba853dc70ff4d97cbd061e6704.tar.bz2
minetest-aa474e4501f460ba853dc70ff4d97cbd061e6704.zip
Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
Diffstat (limited to 'src/network/packethandlers')
-rw-r--r--src/network/packethandlers/server.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> tosend;
+ std::vector<std::string> tosend;
u16 numfiles;
*pkt >> numfiles;