From 4df0c4714576eba687daac10518e93932ede3e6d Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Mon, 28 Feb 2022 07:17:58 +0300 Subject: [PATCH] Remove unused captures --- Telegram/SourceFiles/boxes/share_box.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Telegram/SourceFiles/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp index a4030ea7e..6e1024208 100644 --- a/Telegram/SourceFiles/boxes/share_box.cpp +++ b/Telegram/SourceFiles/boxes/share_box.cpp @@ -677,12 +677,12 @@ bool ShareBox::showForwardMenu(not_null button) { }, _topMenu->lifetime()); noNames->checkedChanges( - ) | rpl::start_with_next([=, this](bool value) { + ) | rpl::start_with_next([=](bool value) { onForwardOptionChange(1, value); }, _topMenu->lifetime()); noCaptions->checkedChanges( - ) | rpl::start_with_next([=, this](bool value) { + ) | rpl::start_with_next([=](bool value) { onForwardOptionChange(2, value); }, _topMenu->lifetime()); @@ -721,17 +721,17 @@ bool ShareBox::showForwardMenu(not_null button) { }; groupAsIs->checkedChanges( - ) | rpl::start_with_next([=, this](bool value) { + ) | rpl::start_with_next([=](bool value) { onGroupOptionChange(0, value); }, _topMenu->lifetime()); groupAll->checkedChanges( - ) | rpl::start_with_next([=, this](bool value) { + ) | rpl::start_with_next([=](bool value) { onGroupOptionChange(1, value); }, _topMenu->lifetime()); groupNone->checkedChanges( - ) | rpl::start_with_next([=, this](bool value) { + ) | rpl::start_with_next([=](bool value) { onGroupOptionChange(2, value); }, _topMenu->lifetime()); }