From 365e4ae0faee79ff7b62396f27667e8315ba94d4 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 5 Mar 2015 10:43:08 +0100 Subject: Performance improvement: Use std::list instead of std::vector for request_media, Server::getModNames, Environment::m_simple_objects. * Also remove unused Server::m_modspaths --- src/client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index afa519d16..c0146911d 100644 --- a/src/client.h +++ b/src/client.h @@ -516,7 +516,7 @@ public: // Insert a media file appropriately into the appropriate manager bool loadMedia(const std::string &data, const std::string &filename); // Send a request for conventional media transfer - void request_media(const std::list &file_requests); + void request_media(const std::vector &file_requests); // Send a notification that no conventional media transfer is needed void received_media(); -- cgit v1.2.3