diff options
author | David Robillard <d@drobilla.net> | 2008-11-16 20:34:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-16 20:34:22 +0000 |
commit | 16e1283137ce7975866cc2ce070954ff9b04afc6 (patch) | |
tree | 503d5490ad7d4553f390ad07c9288deaea66aa40 | |
parent | 24eb14824c9346ca227a7296cb3f620bcf148410 (diff) | |
download | ingen-16e1283137ce7975866cc2ce070954ff9b04afc6.tar.gz ingen-16e1283137ce7975866cc2ce070954ff9b04afc6.tar.bz2 ingen-16e1283137ce7975866cc2ce070954ff9b04afc6.zip |
Shutup.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1731 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/gui/NodeModule.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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<PortModel> model) { for (PortVector::const_iterator p = ports().begin(); p != ports().end(); ++p) { SharedPtr<Port> port = PtrCast<Port>(*p); - if (port->model() == model) { - cout << "FOUND: " << model->path() << endl; + if (port->model() == model) return port; - } } return boost::shared_ptr<Port>(); } |