From 8e4efd071e8eef033d0a68f6cf60f3910599a1a9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 4 Jan 2014 17:07:24 +0100 Subject: output/httpd: wrap the std::list in std::queue --- src/output/HttpdClient.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/output/HttpdClient.hxx') diff --git a/src/output/HttpdClient.hxx b/src/output/HttpdClient.hxx index 7b83bca33..72a5224ca 100644 --- a/src/output/HttpdClient.hxx +++ b/src/output/HttpdClient.hxx @@ -23,6 +23,7 @@ #include "event/BufferedSocket.hxx" #include "Compiler.h" +#include #include #include @@ -53,7 +54,7 @@ class HttpdClient final : BufferedSocket { /** * A queue of #Page objects to be sent to the client. */ - std::list pages; + std::queue> pages; /** * The sum of all page sizes in #pages. -- cgit v1.2.3