Fix test compilation

This commit is contained in:
Thomas Goyne 2013-07-13 09:50:21 -07:00
parent c4dae9e783
commit 5ebc2032d4
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
#include <libaegisub/dispatch.h>
#include <libaegisub/fs.h>
#include <libaegisub/log.h>
#include <libaegisub/util.h>
#include <boost/locale/generator.hpp>
#include <cstdlib>
@ -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<agi::log::JsonEmitter>("./"));
::testing::InitGoogleTest(&argc, argv);
srand(time(nullptr));