Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426)
This commit is contained in:
@@ -328,7 +328,7 @@ private:
|
||||
const QString subscriptionUrl_;
|
||||
const QString channelUrl_;
|
||||
const QString popoutPlayerUrl_;
|
||||
int chatterCount_;
|
||||
int chatterCount_{};
|
||||
UniqueAccess<StreamStatus> streamStatus_;
|
||||
UniqueAccess<RoomModes> roomModes_;
|
||||
std::atomic_flag loadingRecentMessages_ = ATOMIC_FLAG_INIT;
|
||||
@@ -376,7 +376,7 @@ private:
|
||||
* The index of the twitch connection in
|
||||
* 7TV's user representation.
|
||||
*/
|
||||
size_t seventvUserTwitchConnectionIndex_;
|
||||
size_t seventvUserTwitchConnectionIndex_{};
|
||||
|
||||
/**
|
||||
* The next moment in time to signal activity in this channel to 7TV.
|
||||
|
||||
@@ -127,7 +127,7 @@ private:
|
||||
QString roomID_;
|
||||
bool hasBits_ = false;
|
||||
QString bits;
|
||||
int bitsLeft;
|
||||
int bitsLeft{};
|
||||
bool bitsStacked = false;
|
||||
bool historicalMessage_ = false;
|
||||
std::shared_ptr<MessageThread> thread_;
|
||||
|
||||
@@ -355,7 +355,7 @@ struct HelixVip {
|
||||
|
||||
struct HelixChatters {
|
||||
std::unordered_set<QString> chatters;
|
||||
int total;
|
||||
int total{};
|
||||
QString cursor;
|
||||
|
||||
HelixChatters() = default;
|
||||
|
||||
Reference in New Issue
Block a user