From 58dfd063f34ac5da7853c394a33519cc4bf98ba1 Mon Sep 17 00:00:00 2001 From: Brad Arant Date: Wed, 5 Aug 2020 11:29:35 -0700 Subject: [PATCH] sync --- TCPSession.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TCPSession.h b/TCPSession.h index c48ca33..1f4ae73 100644 --- a/TCPSession.h +++ b/TCPSession.h @@ -81,6 +81,8 @@ namespace core { /// TCPServer &server; + + enum Mode {LINE, BLOCK}; protected: @@ -150,7 +152,6 @@ namespace core { int lineBufferSize = 0; std::mutex mtx; bool term = false; - enum Mode {LINE, BLOCK}; enum Mode mode = LINE; int blockSize;