diff options
Diffstat (limited to 'common/resultprovider.h')
-rw-r--r-- | common/resultprovider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/resultprovider.h b/common/resultprovider.h index 5561ff2..b7d9272 100644 --- a/common/resultprovider.h +++ b/common/resultprovider.h | |||
@@ -342,6 +342,7 @@ public: | |||
342 | 342 | ||
343 | void addEmitter(const typename ResultEmitter<DomainType>::Ptr &emitter) | 343 | void addEmitter(const typename ResultEmitter<DomainType>::Ptr &emitter) |
344 | { | 344 | { |
345 | Q_ASSERT(emitter); | ||
345 | emitter->onAdded([this](const DomainType &value) { this->add(value); }); | 346 | emitter->onAdded([this](const DomainType &value) { this->add(value); }); |
346 | emitter->onModified([this](const DomainType &value) { this->modify(value); }); | 347 | emitter->onModified([this](const DomainType &value) { this->modify(value); }); |
347 | emitter->onRemoved([this](const DomainType &value) { this->remove(value); }); | 348 | emitter->onRemoved([this](const DomainType &value) { this->remove(value); }); |