mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Fixe structure size and remove leftover header.
This commit is contained in:
parent
9579fcfe64
commit
339ce480a6
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
#include "SqBase.hpp"
|
#include "SqBase.hpp"
|
||||||
#include "Base/Buffer.hpp"
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
@ -46,7 +45,7 @@ protected:
|
|||||||
struct Message
|
struct Message
|
||||||
{
|
{
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
static constexpr size_t TMS_LEN = (128-sizeof(String)-6-sizeof(bool));
|
static constexpr size_t TMS_LEN = (128-sizeof(String)-6-sizeof(bool)-sizeof(bool));
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
String mStr; // Message string.
|
String mStr; // Message string.
|
||||||
uint32_t mLen; // Message length.
|
uint32_t mLen; // Message length.
|
||||||
|
Loading…
Reference in New Issue
Block a user