mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Get rid of deprecated ranges::action
This commit is contained in:
@@ -1022,7 +1022,7 @@ void Application::unregisterLeaveSubscription(not_null<QWidget*> widget) {
|
||||
#ifdef Q_OS_MAC
|
||||
_leaveSubscriptions = std::move(
|
||||
_leaveSubscriptions
|
||||
) | ranges::action::remove_if([&](const LeaveSubscription &subscription) {
|
||||
) | ranges::actions::remove_if([&](const LeaveSubscription &subscription) {
|
||||
auto pointer = subscription.pointer.data();
|
||||
return !pointer || (pointer == widget);
|
||||
});
|
||||
|
Reference in New Issue
Block a user