aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdClient.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/HttpdClient.hxx3
1 files changed, 2 insertions, 1 deletions
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 <queue>
#include <list>
#include <stddef.h>
@@ -53,7 +54,7 @@ class HttpdClient final : BufferedSocket {
/**
* A queue of #Page objects to be sent to the client.
*/
- std::list<Page *> pages;
+ std::queue<Page *, std::list<Page *>> pages;
/**
* The sum of all page sizes in #pages.