We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d37495 commit 3648db4Copy full SHA for 3648db4
core/src/storage.cpp
@@ -83,6 +83,9 @@ bool InterfaceState::Priority::operator<(const InterfaceState::Priority& other)
83
}
84
85
void InterfaceState::updatePriority(const InterfaceState::Priority& priority) {
86
+ // Never overwrite ARMED with PRUNED: PRUNED => !ARMED
87
+ assert(priority.status() != InterfaceState::Status::PRUNED || priority_.status() != InterfaceState::Status::ARMED);
88
+
89
if (owner()) {
90
owner()->updatePriority(this, priority);
91
} else {
0 commit comments