Remove the object passed to the constructor as an observer from |source|.
| 30 | |
| 31 | // Remove the object passed to the constructor as an observer from |source|. |
| 32 | void Remove(Source* source) { |
| 33 | sources_.erase(std::find(sources_.begin(), sources_.end(), source)); |
| 34 | source->RemoveObserver(observer_); |
| 35 | } |
| 36 | |
| 37 | void RemoveAll() { |
| 38 | for (size_t i = 0; i < sources_.size(); ++i) |
nothing calls this directly
no test coverage detected