Fix test compilation
This commit is contained in:
parent
c4dae9e783
commit
5ebc2032d4
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
||||||
#include <libaegisub/dispatch.h>
|
#include <libaegisub/dispatch.h>
|
||||||
#include <libaegisub/fs.h>
|
#include <libaegisub/fs.h>
|
||||||
#include <libaegisub/log.h>
|
#include <libaegisub/log.h>
|
||||||
|
#include <libaegisub/util.h>
|
||||||
|
|
||||||
#include <boost/locale/generator.hpp>
|
#include <boost/locale/generator.hpp>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
@ -28,7 +29,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
int retval;
|
int retval;
|
||||||
agi::log::log = new agi::log::LogSink;
|
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);
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
|
||||||
srand(time(nullptr));
|
srand(time(nullptr));
|
||||||
|
|
Loading…
Reference in a new issue