event/BufferedSocket: use std::byte
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
#include "util/StaticFifoBuffer.hxx"
|
#include "util/StaticFifoBuffer.hxx"
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstdint>
|
#include <cstddef>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ class EventLoop;
|
|||||||
* A #SocketEvent specialization that adds an input buffer.
|
* A #SocketEvent specialization that adds an input buffer.
|
||||||
*/
|
*/
|
||||||
class BufferedSocket {
|
class BufferedSocket {
|
||||||
StaticFifoBuffer<uint8_t, 8192> input;
|
StaticFifoBuffer<std::byte, 8192> input;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
SocketEvent event;
|
SocketEvent event;
|
||||||
|
Reference in New Issue
Block a user