mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
This commit is contained in:
parent
82482ecd9d
commit
aa474e4501
3 changed files with 42 additions and 46 deletions
|
@ -437,7 +437,7 @@ private:
|
|||
void fillMediaCache();
|
||||
void sendMediaAnnouncement(u16 peer_id);
|
||||
void sendRequestedMedia(u16 peer_id,
|
||||
const std::list<std::string> &tosend);
|
||||
const std::vector<std::string> &tosend);
|
||||
|
||||
void sendDetachedInventory(const std::string &name, u16 peer_id);
|
||||
void sendDetachedInventories(u16 peer_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue