diff options
Diffstat (limited to 'src/engine/PatchImpl.cpp')
-rw-r--r-- | src/engine/PatchImpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/PatchImpl.cpp b/src/engine/PatchImpl.cpp index 96841b33..771c9d6d 100644 --- a/src/engine/PatchImpl.cpp +++ b/src/engine/PatchImpl.cpp @@ -377,6 +377,7 @@ PatchImpl::remove_port(const string& symbol) if ((*i)->symbol() == symbol) { ret = _input_ports.erase(i); found = true; + break; } } @@ -385,6 +386,7 @@ PatchImpl::remove_port(const string& symbol) if ((*i)->symbol() == symbol) { ret = _output_ports.erase(i); found = true; + break; } } |