refactor: Move TwitchBadges to Application (#5096)

* refactor: Move TwitchBadges to Application

* refactor: Use named initializers

* refactor: Use `empty()` instead of `size() > 0`

* refactor: use emplace instead of push into the callback queue
This commit is contained in:
pajlada
2024-01-17 23:53:10 +01:00
committed by GitHub
parent 7d5967c248
commit 11838c8e16
9 changed files with 52 additions and 44 deletions
+6
View File
@@ -122,6 +122,12 @@ public:
return nullptr;
}
TwitchBadges *getTwitchBadges() override
{
assert(false && "getTwitchBadges was called without being initialized");
return nullptr;
}
Logging *getChatLogger() override
{
assert(!"getChatLogger was called without being initialized");