summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ingen/serialisation/Parser.hpp5
-rw-r--r--src/serialisation/Parser.cpp5
-rw-r--r--src/serialisation/serialisation.cpp2
3 files changed, 2 insertions, 10 deletions
diff --git a/ingen/serialisation/Parser.hpp b/ingen/serialisation/Parser.hpp
index 5253a3e4..0240dc9d 100644
--- a/ingen/serialisation/Parser.hpp
+++ b/ingen/serialisation/Parser.hpp
@@ -45,7 +45,7 @@ namespace Serialisation {
*/
class Parser {
public:
- explicit Parser(Shared::World& world);
+ explicit Parser() {}
virtual ~Parser() {}
@@ -67,9 +67,6 @@ public:
boost::optional<Raul::Path> parent = boost::optional<Raul::Path>(),
boost::optional<Raul::Symbol> symbol = boost::optional<Raul::Symbol>(),
boost::optional<Properties> data = boost::optional<Properties>());
-
-private:
- Shared::World& _world;
};
} // namespace Serialisation
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)));
}