summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();
}