mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 16:15:23 -04:00
fixed missing type conversion
This commit is contained in:
parent
6419b03a2a
commit
dd90314c3d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue