From 3b9f6ee5195518d24ce011c3d2fdf7dcffea736c Mon Sep 17 00:00:00 2001 From: v4hn Date: Wed, 1 Sep 2021 16:05:25 +0200 Subject: [PATCH] add todo --- core/src/stage.cpp | 1 + 1 file changed, 1 insertion(+) 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?