diff options
Diffstat (limited to 'src/event/BufferedSocket.hxx')
-rw-r--r-- | src/event/BufferedSocket.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/event/BufferedSocket.hxx b/src/event/BufferedSocket.hxx index db920f981..b1882de2f 100644 --- a/src/event/BufferedSocket.hxx +++ b/src/event/BufferedSocket.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -22,20 +22,19 @@ #include "check.h" #include "SocketMonitor.hxx" -#include "util/FifoBuffer.hxx" -#include "Compiler.h" +#include "util/StaticFifoBuffer.hxx" #include <assert.h> #include <stdint.h> -struct fifo_buffer; class Error; +class EventLoop; /** * A #SocketMonitor specialization that adds an input buffer. */ class BufferedSocket : protected SocketMonitor { - FifoBuffer<uint8_t, 8192> input; + StaticFifoBuffer<uint8_t, 8192> input; public: BufferedSocket(int _fd, EventLoop &_loop) |