fix IsEmpty is const

This commit is contained in:
Your Name 2024-12-05 15:27:31 +08:00
parent 1f8a250845
commit 97681c8807

View File

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