fixed missing type conversion

This commit is contained in:
csoler 2019-09-08 20:49:38 +02:00
parent 6419b03a2a
commit dd90314c3d
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -760,7 +760,7 @@ bool p3ServiceControl::updateFilterByPeer_locked(const RsPeerId &peerId)
recordFilterChanges_locked(peerId, originalFilter, peerFilter);
using Evt_t = RsPeerStateChangedEvent;
std::shared_ptr<RsEvents> lockedRsEvents = rsEvents;
std::shared_ptr<RsEvents> lockedRsEvents ( rsEvents );
if(lockedRsEvents)
lockedRsEvents->postEvent(std::unique_ptr<Evt_t>(new Evt_t(peerId)));