mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fix a few compiler warnings
This commit is contained in:
parent
1fd6e7e97a
commit
cdafb7e27f
2 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@ $%inputParamsDeserialization%$
|
|||
|
||||
const std::weak_ptr<rb::Service> weakService(mService);
|
||||
const std::weak_ptr<rb::Session> weakSession(session);
|
||||
$%callbackName%$ = [this, weakService, weakSession]($%callbackParams%$)
|
||||
$%callbackName%$ = [weakService, weakSession]($%callbackParams%$)
|
||||
{
|
||||
auto session = weakSession.lock();
|
||||
if(!session || session->is_closed()) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue