summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-17 21:56:33 +0000
committerDavid Robillard <d@drobilla.net>2012-05-17 21:56:33 +0000
commitda03dbe262f38fa0cc5eaacd176a4d8efe5029db (patch)
tree3e5279413eb48cff56406e2071b012ef3c3d5dff /src/serialisation
parent34152c9d4c2f4681bb48889c6365e36b9e8bcc8b (diff)
downloadingen-da03dbe262f38fa0cc5eaacd176a4d8efe5029db.tar.gz
ingen-da03dbe262f38fa0cc5eaacd176a4d8efe5029db.tar.bz2
ingen-da03dbe262f38fa0cc5eaacd176a4d8efe5029db.zip
Remove pointless state and constructor from Parser.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4426 a436a847-0d15-0410-975c-d299462d15a1
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)));
}