summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-16 20:34:22 +0000
committerDavid Robillard <d@drobilla.net>2008-11-16 20:34:22 +0000
commit16e1283137ce7975866cc2ce070954ff9b04afc6 (patch)
tree503d5490ad7d4553f390ad07c9288deaea66aa40 /src/gui/NodeModule.cpp
parent24eb14824c9346ca227a7296cb3f620bcf148410 (diff)
downloadingen-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
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp4
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>();
}