mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
fix: issue with GCC
This commit is contained in:
parent
c226311126
commit
e9d9e8df49
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,8 @@ bool Session::premiumBadgesShown() const {
|
|||
rpl::producer<bool> Session::premiumPossibleValue() const {
|
||||
using namespace rpl::mappers;
|
||||
|
||||
auto premium = _user->flagsValue(
|
||||
// fix issue with GCC
|
||||
rpl::producer<bool> premium = _user->flagsValue(
|
||||
) | rpl::filter([=](UserData::Flags::Change change) {
|
||||
return (change.diff & UserDataFlag::Premium);
|
||||
}) | rpl::map([=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue