mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -05:00
Add some info about shared_ptr to weak_ptr future refactor
This commit is contained in:
parent
a5cdee6078
commit
5554f799c0
3 changed files with 13 additions and 2 deletions
|
|
@ -37,6 +37,9 @@ class RsBroadcastDiscovery;
|
|||
/**
|
||||
* Pointer to global instance of RsBroadcastDiscovery service implementation
|
||||
* @jsonapi{development}
|
||||
*
|
||||
* TODO: this should become std::weak_ptr once we have a reasonable services
|
||||
* management.
|
||||
*/
|
||||
extern std::shared_ptr<RsBroadcastDiscovery> rsBroadcastDiscovery;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ class RsEvents;
|
|||
/**
|
||||
* Pointer to global instance of RsEvents service implementation
|
||||
* @jsonapi{development}
|
||||
*
|
||||
* TODO: this should become std::weak_ptr once we have a reasonable services
|
||||
* management.
|
||||
*/
|
||||
extern std::shared_ptr<RsEvents> rsEvents;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue