aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 14:44:06 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 14:44:06 +0100
commit15a4246ead3cceef7db63f12f48792d3fb0aa29b (patch)
treee2c2c7498323a5724b9249c2b55b5959d625e78b /src/ClientInternal.hxx
parent9a71845700e132b3e3fe5920aac24a5420c5d7b3 (diff)
downloadmpd-15a4246ead3cceef7db63f12f48792d3fb0aa29b.tar.gz
mpd-15a4246ead3cceef7db63f12f48792d3fb0aa29b.tar.xz
mpd-15a4246ead3cceef7db63f12f48792d3fb0aa29b.zip
Client, Inotify: use std::list instead of std::deque
Random access is not necessary here.
Diffstat (limited to '')
-rw-r--r--src/ClientInternal.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx
index f8944b657..5e41333e4 100644
--- a/src/ClientInternal.hxx
+++ b/src/ClientInternal.hxx
@@ -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);