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:
parent
758097f09c
commit
8ed41e7264
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue