diff --git a/core/src/stage.cpp b/core/src/stage.cpp index 1d0f1d36..80972e31 100644 --- a/core/src/stage.cpp +++ b/core/src/stage.cpp @@ -716,6 +716,7 @@ void ConnectingPrivate::newState(Interface::iterator it, bool updated) { // remove all pending pairs involving this state pending.remove_if([it](const StatePair& p) { return std::get()>(p) == it; }); else + // TODO(v4hn): If a state becomes reenabled, this skips all previously removed pairs, right? pending.sort(); } else { // new state: insert all pairs with other interface assert(it->priority().enabled()); // new solutions are feasible, aren't they?