Commit ec261047 authored by Thomas Markwalder's avatar Thomas Markwalder

[3470] Addressed review comments

    Corrected two replacments of getSignalStates() that were overlooked.
parent 79014890
......@@ -219,11 +219,12 @@ SignalSet::erase(const int sig) {
registered_signals_->erase(sig);
// Remove unhandled signals from the queue.
for (std::list<int>::iterator it = signal_states_->begin();
it != getSignalStates()->end(); ++it) {
it != signal_states_->end(); ++it) {
if (*it == sig) {
it = getSignalStates()->erase(it);
it = signal_states_->erase(it);
}
}
// Remove locally registered signal.
local_signals_.erase(sig);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment