Remove BaseSettings & merge ConcurrentSettings (#4775)

This commit is contained in:
pajlada
2023-08-28 17:51:28 +02:00
committed by GitHub
parent 4c942a2a42
commit 7cb04bf58b
18 changed files with 235 additions and 281 deletions
@@ -834,7 +834,7 @@ void TwitchMessageBuilder::appendUsername()
void TwitchMessageBuilder::runIgnoreReplaces(
std::vector<TwitchEmoteOccurrence> &twitchEmotes)
{
auto phrases = getCSettings().ignoredMessages.readOnly();
auto phrases = getSettings()->ignoredMessages.readOnly();
auto removeEmotesInRange = [](int pos, int len,
auto &twitchEmotes) mutable {
auto it = std::partition(