From f21630b40bb38d02032b9988f47d2d0f9cc212cd Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sun, 29 Sep 2024 14:02:30 +0200 Subject: [PATCH] fix: add ChatLogger to RecentMessages benchmark --- benchmarks/src/RecentMessages.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/benchmarks/src/RecentMessages.cpp b/benchmarks/src/RecentMessages.cpp index 883b2bb693d..f66ead3fb72 100644 --- a/benchmarks/src/RecentMessages.cpp +++ b/benchmarks/src/RecentMessages.cpp @@ -6,6 +6,7 @@ #include "mocks/DisabledStreamerMode.hpp" #include "mocks/Emotes.hpp" #include "mocks/LinkResolver.hpp" +#include "mocks/Logging.hpp" #include "mocks/TwitchIrcServer.hpp" #include "mocks/UserData.hpp" #include "providers/bttv/BttvEmotes.hpp" @@ -110,6 +111,12 @@ class MockApplication : public mock::BaseApplication return &this->linkResolver; } + ILogging *getChatLogger() override + { + return &this->logging; + } + + mock::EmptyLogging logging; AccountController accounts; mock::Emotes emotes; mock::UserDataController userData;