mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 21:34:10 -05:00
fixed missing type conversion
This commit is contained in:
parent
6419b03a2a
commit
dd90314c3d
@ -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)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user