diff options
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r-- | src/PatchageCanvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 0eba567..b9a00ba 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -125,7 +125,7 @@ void PatchageCanvas::remove_ports(bool (*pred)(const PatchagePort*)) { std::set<PatchageModule*> empty; - for (Items::iterator i = items().begin(); i != items().end(); ++i) { + for (Items::const_iterator i = items().begin(); i != items().end(); ++i) { PatchageModule* module = dynamic_cast<PatchageModule*>(*i); if (!module) continue; |