diff options
author | David Robillard <d@drobilla.net> | 2011-11-27 01:08:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-27 01:08:42 +0000 |
commit | 96374990f67d8234f38b6cc6044b05d13157d88a (patch) | |
tree | d774c8e7a3c11e8e1d3fe78dd8bc04c0783a9c05 | |
parent | b7148f4de66e09a96d08225f9a2b9b2882fa74a6 (diff) | |
download | ingen-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.cpp | 2 |
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(); } |