summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/observer_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/observer_list.h b/base/observer_list.h
index 20f183d..b44e33f 100644
--- a/base/observer_list.h
+++ b/base/observer_list.h
@@ -157,9 +157,9 @@ class ObserverListBase
}
}
+ protected:
size_t size() const { return observers_.size(); }
- protected:
void Compact() {
observers_.erase(
std::remove(observers_.begin(), observers_.end(),