Browse Source

[3470] Addressed review comments

    Corrected two replacments of getSignalStates() that were overlooked.
Thomas Markwalder 10 years ago
parent
commit
ec261047f0
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/lib/util/signal_set.cc

+ 3 - 2
src/lib/util/signal_set.cc

@@ -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);
 }