diff --git a/src/sled/event_bus/event_bus.h b/src/sled/event_bus/event_bus.h index 7b68f5a..ac4b15d 100644 --- a/src/sled/event_bus/event_bus.h +++ b/src/sled/event_bus/event_bus.h @@ -80,7 +80,7 @@ public: if (dispatcher.is_empty()) { signals_.erase(iter); } } - bool IsEmpty(EventBus *bus) const + bool IsEmpty(EventBus *bus) { sled::SharedMutexReadLock lock(&shared_mutex_); auto iter = signals_.find(bus);