Migrate to C++ 20 & switch to websocketpp develop branch (#4252)
* feat: c++ 20 * fix: c++ 20 deprecations * fix(msvc): warnings * chore: add changelog entry * fix: formatting * Update websocketpp to the `develop` branch * Specify other template type in FlagsEnum != operator * Remove the user of simple template ids in our websocketpp template class Also standardizes the file a bit by using nested namespaces, using pragma once * fix: turn `MAGIC_MESSAGE_SUFFIX` into a `QString` * hacky unhacky hacky const char hack Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -1815,7 +1815,7 @@ void Helix::onFetchChattersSuccess(
|
||||
|
||||
this->fetchChatters(
|
||||
broadcasterID, moderatorID, NUM_CHATTERS_TO_FETCH, chatters.cursor,
|
||||
[=](auto chatters) {
|
||||
[=, this](auto chatters) {
|
||||
this->onFetchChattersSuccess(
|
||||
finalChatters, broadcasterID, moderatorID, maxChattersToFetch,
|
||||
successCallback, failureCallback, chatters);
|
||||
@@ -1925,7 +1925,7 @@ void Helix::onFetchModeratorsSuccess(
|
||||
|
||||
this->fetchModerators(
|
||||
broadcasterID, NUM_MODERATORS_TO_FETCH_PER_REQUEST, moderators.cursor,
|
||||
[=](auto moderators) {
|
||||
[=, this](auto moderators) {
|
||||
this->onFetchModeratorsSuccess(
|
||||
finalModerators, broadcasterID, maxModeratorsToFetch,
|
||||
successCallback, failureCallback, moderators);
|
||||
@@ -2236,7 +2236,7 @@ void Helix::getChatters(
|
||||
// Initiate the recursive calls
|
||||
this->fetchChatters(
|
||||
broadcasterID, moderatorID, NUM_CHATTERS_TO_FETCH, "",
|
||||
[=](auto chatters) {
|
||||
[=, this](auto chatters) {
|
||||
this->onFetchChattersSuccess(
|
||||
finalChatters, broadcasterID, moderatorID, maxChattersToFetch,
|
||||
successCallback, failureCallback, chatters);
|
||||
@@ -2255,7 +2255,7 @@ void Helix::getModerators(
|
||||
// Initiate the recursive calls
|
||||
this->fetchModerators(
|
||||
broadcasterID, NUM_MODERATORS_TO_FETCH_PER_REQUEST, "",
|
||||
[=](auto moderators) {
|
||||
[=, this](auto moderators) {
|
||||
this->onFetchModeratorsSuccess(
|
||||
finalModerators, broadcasterID, maxModeratorsToFetch,
|
||||
successCallback, failureCallback, moderators);
|
||||
|
||||
Reference in New Issue
Block a user