fixed GH #1865: AbstractEvent::hasDelegates() is not thread-safe

This commit is contained in:
Günter Obiltschnig 2017-08-31 08:30:01 +02:00
parent 8e8143b43d
commit cf38f272a2

View File

@ -247,7 +247,7 @@ public:
}
bool hasDelegates() const {
return !(_strategy.empty());
return !empty();
}
ActiveResult<TArgs> notifyAsync(const void* pSender, const TArgs& args)