From a878ca8062ab76299648473fcbf4d14d19f35acf Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 31 Aug 2019 17:45:13 +0200 Subject: [PATCH] Remove unused lambda capture to fix warnings --- src/providers/twitch/PubsubClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/twitch/PubsubClient.cpp b/src/providers/twitch/PubsubClient.cpp index 0a8976618..9bb6ed3a6 100644 --- a/src/providers/twitch/PubsubClient.cpp +++ b/src/providers/twitch/PubsubClient.cpp @@ -699,13 +699,13 @@ PubSub::PubSub() }; this->moderationActionHandlers["denied_automod_message"] = - [this](const auto &data, const auto &roomID) { + [](const auto &data, const auto &roomID) { // This message got denied by a moderator // qDebug() << QString::fromStdString(rj::stringify(data)); }; this->moderationActionHandlers["approved_automod_message"] = - [this](const auto &data, const auto &roomID) { + [](const auto &data, const auto &roomID) { // This message got approved by a moderator // qDebug() << QString::fromStdString(rj::stringify(data)); };