From 96374990f67d8234f38b6cc6044b05d13157d88a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Nov 2011 01:08:42 +0000 Subject: Don't expose non-const Module::ports. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3650 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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(*p)->update_metadata(); } -- cgit v1.2.1