diff transform/ModelTransformerFactory.h @ 664:c3dee40e77d2

* Make inputModel a reference argument to configure -- fixes (hideously) failure to pick up correct user-specified input in SV
author Chris Cannam
date Mon, 25 Oct 2010 21:14:40 +0200
parents 12578237b99c
children 5295bdb58840
line wrap: on
line diff
--- a/transform/ModelTransformerFactory.h	Mon Oct 25 11:09:02 2010 +0200
+++ b/transform/ModelTransformerFactory.h	Mon Oct 25 21:14:40 2010 +0200
@@ -43,7 +43,7 @@
         virtual bool configure(ModelTransformer::Input &input,
                                Transform &transform,
                                Vamp::PluginBase *plugin,
-                               Model *inputModel,
+                               Model *&inputModel,
                                AudioPlaySource *source,
                                size_t startFrame,
                                size_t duration,