diff --git a/aegisub/tests/support/main.cpp b/aegisub/tests/support/main.cpp index 8b86c29f8..5574e0186 100644 --- a/aegisub/tests/support/main.cpp +++ b/aegisub/tests/support/main.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -28,7 +29,7 @@ int main(int argc, char **argv) { int retval; agi::log::log = new agi::log::LogSink; - agi::log::log->Subscribe(new agi::log::JsonEmitter("./")); + agi::log::log->Subscribe(agi::util::make_unique("./")); ::testing::InitGoogleTest(&argc, argv); srand(time(nullptr));