Client, Inotify: use std::list instead of std::deque

Random access is not necessary here.
This commit is contained in:
Max Kellermann
2013-01-04 14:44:06 +01:00
parent 9a71845700
commit 15a4246ead
2 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@
#include <set>
#include <string>
#include <deque>
#include <list>
#include <glib.h>
@@ -97,7 +97,7 @@ public:
/**
* A list of messages this client has received.
*/
std::deque<ClientMessage> messages;
std::list<ClientMessage> messages;
Client(struct player_control *player_control,
int fd, int uid, int num);