From a659a13c531e991851e013db3d4223bf16a343b8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 24 Jan 2014 17:28:43 +0000 Subject: Fix various whitespace and formatting issues. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Parser.cpp | 11 +++++------ src/serialisation/serialisation.cpp | 7 ++++--- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/serialisation') diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index d49ac9a6..e6e3f2c9 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -226,11 +226,11 @@ parse_properties( static bool parse_arcs( - World* world, - Interface* target, - Sord::Model& model, - const Sord::Node& subject, - const Raul::Path& graph); + World* world, + Interface* target, + Sord::Model& model, + const Sord::Node& subject, + const Raul::Path& graph); static boost::optional parse_block(Ingen::World* world, @@ -647,4 +647,3 @@ Parser::parse_string(Ingen::World* world, } // namespace Serialisation } // namespace Ingen - diff --git a/src/serialisation/serialisation.cpp b/src/serialisation/serialisation.cpp index 65f11090..b335845e 100644 --- a/src/serialisation/serialisation.cpp +++ b/src/serialisation/serialisation.cpp @@ -24,9 +24,11 @@ using namespace Ingen; struct IngenSerialisationModule : public Ingen::Module { virtual void load(Ingen::World* world) { - world->set_parser(SPtr( + world->set_parser( + SPtr( new Serialisation::Parser())); - world->set_serialiser(SPtr( + world->set_serialiser( + SPtr( new Serialisation::Serialiser(*world))); } }; @@ -39,4 +41,3 @@ ingen_module_load() { } } // extern "C" - -- cgit v1.2.1