TAPServerConnection: drop unused enum class ReadState

This also fixes a -Wshadow warning because there is a function-local
equivalent in ReadThreadHandler().
This commit is contained in:
Tillmann Karras 2024-04-20 12:02:05 +01:00
parent 758097f09c
commit 8ed41e7264
1 changed files with 0 additions and 8 deletions

View File

@ -31,14 +31,6 @@ public:
bool SendFrame(const u8* frame, u32 size); bool SendFrame(const u8* frame, u32 size);
private: private:
enum class ReadState
{
Size,
SizeHigh,
Data,
Skip,
};
const std::string m_destination; const std::string m_destination;
const RecvCallback m_recv_cb; const RecvCallback m_recv_cb;
const std::size_t m_max_frame_size; const std::size_t m_max_frame_size;