summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Parser.cpp5
-rw-r--r--src/serialisation/serialisation.cpp2
2 files changed, 1 insertions, 6 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 5406ab24..3033f538 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -558,11 +558,6 @@ parse(Ingen::Shared::World* world,
return boost::optional<Path>();
}
-Parser::Parser(Ingen::Shared::World& world)
- : _world(world)
-{
-}
-
/** Parse a patch from RDF into a Interface (engine or client).
* @return whether or not load was successful.
*/
diff --git a/src/serialisation/serialisation.cpp b/src/serialisation/serialisation.cpp
index c5144600..b425e4ad 100644
--- a/src/serialisation/serialisation.cpp
+++ b/src/serialisation/serialisation.cpp
@@ -25,7 +25,7 @@ using namespace Ingen;
struct IngenSerialisationModule : public Ingen::Shared::Module {
virtual void load(Ingen::Shared::World* world) {
world->set_parser(SharedPtr<Serialisation::Parser>(
- new Serialisation::Parser(*world)));
+ new Serialisation::Parser()));
world->set_serialiser(SharedPtr<Serialisation::Serialiser>(
new Serialisation::Serialiser(*world)));
}