summaryrefslogtreecommitdiff
path: root/src/session.hpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-03-11 18:25:30 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-03-20 23:44:58 +0800
commitc22ac676e34989ceea1d459c468982a7641072a2 (patch)
treed54e563cb185d705f1d50f9b6af5b502b9b0c5f7 /src/session.hpp
parent4764b5f494fd5c0fe41dbc01779738c450198933 (diff)
perf(session): uint8_t for eEventType
Diffstat (limited to 'src/session.hpp')
-rw-r--r--src/session.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.hpp b/src/session.hpp
index 8a18950..9133176 100644
--- a/src/session.hpp
+++ b/src/session.hpp
@@ -29,7 +29,7 @@ class CSession {
private:
std::pair<std::jthread, std::shared_ptr<CSession>> *self;
- enum eEventType {
+ enum eEventType : std::uint8_t {
READ,
WRITE
};