mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 19:26:31 -04:00
Changed in Libresapi: Pointer to RsNotify object into reference
This commit is contained in:
parent
4026040b49
commit
d53993c2a0
5 changed files with 12 additions and 12 deletions
|
@ -31,7 +31,7 @@ namespace resource_api
|
|||
class FileSharingHandler: public ResourceRouter, NotifyClient
|
||||
{
|
||||
public:
|
||||
FileSharingHandler(StateTokenServer* sts, RsFiles* files, RsNotify* notify);
|
||||
FileSharingHandler(StateTokenServer* sts, RsFiles* files, RsNotify& notify);
|
||||
~FileSharingHandler();
|
||||
|
||||
// from NotifyClient
|
||||
|
@ -61,7 +61,7 @@ private:
|
|||
RsMutex mMtx; // Inherited virtual functions of NotifyClient may be called from foreing thread
|
||||
|
||||
RsFiles* mRsFiles;
|
||||
RsNotify* mNotify;
|
||||
RsNotify& mNotify;
|
||||
};
|
||||
|
||||
} // namespace resource_api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue