diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 14:44:06 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 14:44:06 +0100 |
commit | 15a4246ead3cceef7db63f12f48792d3fb0aa29b (patch) | |
tree | e2c2c7498323a5724b9249c2b55b5959d625e78b /src/InotifyQueue.cxx | |
parent | 9a71845700e132b3e3fe5920aac24a5420c5d7b3 (diff) | |
download | mpd-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 'src/InotifyQueue.cxx')
-rw-r--r-- | src/InotifyQueue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/InotifyQueue.cxx b/src/InotifyQueue.cxx index a2e21272f..0d19ff083 100644 --- a/src/InotifyQueue.cxx +++ b/src/InotifyQueue.cxx @@ -21,7 +21,7 @@ #include "InotifyQueue.hxx" #include "UpdateGlue.hxx" -#include <deque> +#include <list> #include <string> #include <glib.h> @@ -40,7 +40,7 @@ enum { INOTIFY_UPDATE_DELAY_S = 5, }; -static std::deque<std::string> inotify_queue; +static std::list<std::string> inotify_queue; static guint queue_source_id; void |