Closed xvitaly closed 1 year ago
Can you provide some kind of reproducible example here?
Well the first one here is just a bug in the application
/builddir/build/BUILD/tdesktop-4.6.0-full/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp:80:39: error: no match for call to '(const ranges::remove_fn) (std::vector<RestrictionLabel>&, ChatRestriction, ChatRestrictions RestrictionLabel::*)'
80 | ranges::remove(
| ~~~~~~~~~~~~~~^
81 | second,
| ~~~~~~~
82 | Flag::CreateTopics,
| ~~~~~~~~~~~~~~~~~~~
83 | &RestrictionLabel::flags),
| ~~~~~~~~~~~~~~~~~~~~~~~~~
You're calling remove
on a vector<RestrictionLabel>
, removing a ChatRestriction
, &RestrictionLabel::flags
here is a ChatRestrictions
(plural) not ChatRestriction
(singular), and they don't compare.
This is probably not a range-v3 issue.
Build failure when building Telegram Desktop with GCC 13.0.1:
OS: Fedora Linux range-v3 version: 0.12.0 Compiler: GCC 13.0.1