From 15a4246ead3cceef7db63f12f48792d3fb0aa29b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Jan 2013 14:44:06 +0100 Subject: Client, Inotify: use std::list instead of std::deque Random access is not necessary here. --- src/InotifyQueue.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/InotifyQueue.cxx') diff --git a/src/InotifyQueue.cxx b/src/InotifyQueue.cxx index a2e21272..0d19ff08 100644 --- a/src/InotifyQueue.cxx +++ b/src/InotifyQueue.cxx @@ -21,7 +21,7 @@ #include "InotifyQueue.hxx" #include "UpdateGlue.hxx" -#include +#include #include #include @@ -40,7 +40,7 @@ enum { INOTIFY_UPDATE_DELAY_S = 5, }; -static std::deque inotify_queue; +static std::list inotify_queue; static guint queue_source_id; void -- cgit v1.2.3