summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-27 01:08:42 +0000
committerDavid Robillard <d@drobilla.net>2011-11-27 01:08:42 +0000
commit96374990f67d8234f38b6cc6044b05d13157d88a (patch)
treed774c8e7a3c11e8e1d3fe78dd8bc04c0783a9c05
parentb7148f4de66e09a96d08225f9a2b9b2882fa74a6 (diff)
downloadingen-96374990f67d8234f38b6cc6044b05d13157d88a.tar.gz
ingen-96374990f67d8234f38b6cc6044b05d13157d88a.tar.bz2
ingen-96374990f67d8234f38b6cc6044b05d13157d88a.zip
Don't expose non-const Module::ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3650 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/NodeModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 0767a175..d73c9ee9 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -182,7 +182,7 @@ NodeModule::value_changed(uint32_t index, const Atom& value)
void
NodeModule::plugin_changed()
{
- for (Ports::iterator p = ports().begin(); p != ports().end(); ++p)
+ for (Ports::const_iterator p = ports().begin(); p != ports().end(); ++p)
dynamic_cast<Ingen::GUI::Port*>(*p)->update_metadata();
}