Fix warnings

This commit is contained in:
WarmUpTill
2024-02-04 15:25:27 +01:00
committed by WarmUpTill
parent ce262f0dad
commit 84e01c0c9c
10 changed files with 30 additions and 23 deletions

View File

@@ -11,8 +11,7 @@ using websocketpp::lib::placeholders::_1;
using websocketpp::lib::placeholders::_2;
using websocketpp::lib::bind;
static constexpr int reconnectDelay = 15;
static constexpr int messageIDBufferSize = 20;
static const int reconnectDelay = 15;
/* ------------------------------------------------------------------------- */
@@ -331,7 +330,9 @@ std::map<TwitchChatConnection::ChatMapKey, std::weak_ptr<TwitchChatConnection>>
TwitchChatConnection::TwitchChatConnection(const TwitchToken &token,
const TwitchChannel &channel)
: QObject(nullptr), _token(token), _channel(channel)
: QObject(nullptr),
_token(token),
_channel(channel)
{
_client.get_alog().clear_channels(
websocketpp::log::alevel::frame_header |