mirror of https://github.com/odrling/Aegisub
Fix test compilation
This commit is contained in:
parent
c4dae9e783
commit
5ebc2032d4
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue