From e577a96f7ef3a9d71dc8090a2a1132be20489e86 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 7 Sep 2021 17:08:58 +0300 Subject: [PATCH] Update Net.hpp --- module/PocoLib/Net.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/module/PocoLib/Net.hpp b/module/PocoLib/Net.hpp index ed9c709e..28c7543e 100644 --- a/module/PocoLib/Net.hpp +++ b/module/PocoLib/Net.hpp @@ -31,7 +31,6 @@ namespace SqMod { */ struct WsClient { - /* -------------------------------------------------------------------------------------------- * Flags received in the last call to Recv[String]Frame() (will be overwritten on next call). */ @@ -47,17 +46,17 @@ struct WsClient /* -------------------------------------------------------------------------------------------- * Receiving buffer instance. */ - Poco::Buffer< char > mBuffer; + Poco::Buffer< char > mBuffer{0}; /* -------------------------------------------------------------------------------------------- * User tag associated with this instance. */ - String mTag; + String mTag{}; /* -------------------------------------------------------------------------------------------- * User data associated with this instance. */ - LightObj mData; + LightObj mData{}; /* -------------------------------------------------------------------------------------------- * HTTP client session instance.