diff options
author | David Robillard <d@drobilla.net> | 2012-05-17 18:03:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-17 18:03:53 +0000 |
commit | 3e4272d71264ef1a251d154c0b1f4dce8a725554 (patch) | |
tree | 6bbbfd7b541fdae47d9651ebeecd917a9a605271 /src/serialisation/serialisation.cpp | |
parent | dc1680b0b1338b7edbcbff89fe77b0e1c14017a3 (diff) | |
download | ingen-3e4272d71264ef1a251d154c0b1f4dce8a725554.tar.gz ingen-3e4272d71264ef1a251d154c0b1f4dce8a725554.tar.bz2 ingen-3e4272d71264ef1a251d154c0b1f4dce8a725554.zip |
Eliminate static variable.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4424 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/serialisation.cpp')
-rw-r--r-- | src/serialisation/serialisation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serialisation/serialisation.cpp b/src/serialisation/serialisation.cpp index e234db5d..c5144600 100644 --- a/src/serialisation/serialisation.cpp +++ b/src/serialisation/serialisation.cpp @@ -22,8 +22,8 @@ using namespace Ingen; -struct IngenSerialisationModule : public Shared::Module { - void load(Shared::World* world) { +struct IngenSerialisationModule : public Ingen::Shared::Module { + virtual void load(Ingen::Shared::World* world) { world->set_parser(SharedPtr<Serialisation::Parser>( new Serialisation::Parser(*world))); world->set_serialiser(SharedPtr<Serialisation::Serialiser>( @@ -33,7 +33,7 @@ struct IngenSerialisationModule : public Shared::Module { extern "C" { -Shared::Module* +Ingen::Shared::Module* ingen_module_load() { return new IngenSerialisationModule(); } |