summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ingen_test.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index f0e92d30..4c00799d 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -22,8 +22,8 @@
#include <boost/optional.hpp>
+#include "lv2/atom/Forge.hpp"
#include "raul/Path.hpp"
-
#include "serd/serd.h"
#include "sord/sordmm.hpp"
#include "sratom/sratom.h"
@@ -121,10 +121,8 @@ main(int argc, char** argv)
sratom_set_object_mode(sratom, SRATOM_OBJECT_MODE_BLANK_SUBJECT);
- LV2_Atom_Forge forge;
- lv2_atom_forge_init(&forge, map);
-
- AtomForgeSink out(&forge);
+ AtomForgeSink out;
+ lv2::atom::Forge forge(map, out);
// AtomReader to read commands from a file and send them to engine
AtomReader atom_reader(world->uri_map(),