fix IsEmpty is const
This commit is contained in:
parent
1f8a250845
commit
97681c8807
@ -80,7 +80,7 @@ public:
|
|||||||
if (dispatcher.is_empty()) { signals_.erase(iter); }
|
if (dispatcher.is_empty()) { signals_.erase(iter); }
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsEmpty(EventBus *bus) const
|
bool IsEmpty(EventBus *bus)
|
||||||
{
|
{
|
||||||
sled::SharedMutexReadLock lock(&shared_mutex_);
|
sled::SharedMutexReadLock lock(&shared_mutex_);
|
||||||
auto iter = signals_.find(bus);
|
auto iter = signals_.find(bus);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user