From 16e1283137ce7975866cc2ce070954ff9b04afc6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Nov 2008 20:34:22 +0000 Subject: Shutup. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1731 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeModule.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index acb46834..512bdebb 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -256,10 +256,8 @@ NodeModule::port(boost::shared_ptr model) { for (PortVector::const_iterator p = ports().begin(); p != ports().end(); ++p) { SharedPtr port = PtrCast(*p); - if (port->model() == model) { - cout << "FOUND: " << model->path() << endl; + if (port->model() == model) return port; - } } return boost::shared_ptr(); } -- cgit v1.2.1