summaryrefslogtreecommitdiff
path: root/src/event/ServerSocket.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-04 20:10:46 +0100
committerMax Kellermann <max@duempel.org>2013-11-04 20:10:46 +0100
commitbcae86196c44baf198534ecec20dc1b8908992f8 (patch)
tree604d4cb42088b2f9a0e3874e3da56962d7d8e4f8 /src/event/ServerSocket.hxx
parent7adfea8ca268162f10f9b1e1ec3a3322f14928a0 (diff)
event/ServerSocket: open sockets in the order they were configured
Use a std::list which can be appended at the end.
Diffstat (limited to 'src/event/ServerSocket.hxx')
-rw-r--r--src/event/ServerSocket.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index 6143d273a..facb10371 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -20,7 +20,7 @@
#ifndef MPD_SERVER_SOCKET_HXX
#define MPD_SERVER_SOCKET_HXX
-#include <forward_list>
+#include <list>
#include <stddef.h>
@@ -41,7 +41,7 @@ class ServerSocket {
EventLoop &loop;
- std::forward_list<OneServerSocket> sockets;
+ std::list<OneServerSocket> sockets;
unsigned next_serial;