1
0
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:
Sandu Liviu Catalin 2021-01-17 14:04:11 +02:00
parent 9579fcfe64
commit 339ce480a6

View File

@ -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.