mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Fix: Stack overflow when operating CharMsg
This commit is contained in:
@@ -1147,12 +1147,6 @@ typedef struct CharMsg {
|
||||
memset(data, 0, sizeof(data));
|
||||
needFree = free;
|
||||
}
|
||||
char& operator[](int index) {
|
||||
return data[index];
|
||||
}
|
||||
operator const char* () const {
|
||||
return data;
|
||||
}
|
||||
}CharMsg;
|
||||
|
||||
typedef struct ClientMsg {
|
||||
|
||||
Reference in New Issue
Block a user