fix: Get rid of warnings on clang-cl (#6528)
This commit is contained in:
@@ -109,7 +109,6 @@ bool appendWhisperMessageWordsLocally(const QStringList &words)
|
||||
const auto &accemotes = *acc->accessEmotes();
|
||||
const auto *bttvemotes = app->getBttvEmotes();
|
||||
const auto *ffzemotes = app->getFfzEmotes();
|
||||
auto flags = MessageElementFlags();
|
||||
auto emote = std::optional<EmotePtr>{};
|
||||
for (int i = 2; i < words.length(); i++)
|
||||
{
|
||||
|
||||
@@ -203,6 +203,7 @@ std::unique_ptr<MessageElement> elementFromTable(const sol::table &tbl)
|
||||
case Link::AutoModAllow:
|
||||
case Link::AutoModDeny:
|
||||
case Link::OpenAccountsPage:
|
||||
case Link::ViewThread:
|
||||
case Link::Reconnect:
|
||||
throw std::runtime_error(
|
||||
"Invalid link type. How'd this happen?");
|
||||
|
||||
Reference in New Issue
Block a user