event/BufferedSocket: use std::byte

This commit is contained in:
Max Kellermann 2023-09-27 10:29:40 +02:00
parent 8ca6606323
commit 9daf8f6de5
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#include "util/StaticFifoBuffer.hxx"
#include <cassert>
#include <cstdint>
#include <cstddef>
#include <exception>
#include <type_traits>
@ -18,7 +18,7 @@ class EventLoop;
* A #SocketEvent specialization that adds an input buffer.
*/
class BufferedSocket {
StaticFifoBuffer<uint8_t, 8192> input;
StaticFifoBuffer<std::byte, 8192> input;
protected:
SocketEvent event;