From 5ebc2032d40d3765f891e5af3ae3b122b7554c48 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 13 Jul 2013 09:50:21 -0700 Subject: [PATCH] Fix test compilation --- aegisub/tests/support/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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));