mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fixed build with GCC 13.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
parent
6b6afd38ac
commit
b48dee0af7
2 changed files with 7 additions and 6 deletions
|
@ -79,7 +79,7 @@ struct NestedRestrictionLabels {
|
|||
second.erase(
|
||||
ranges::remove(
|
||||
second,
|
||||
Flag::CreateTopics,
|
||||
Flag::CreateTopics | Flag(),
|
||||
&RestrictionLabel::flags),
|
||||
end(second));
|
||||
}
|
||||
|
@ -1002,7 +1002,7 @@ std::vector<AdminRightLabel> AdminRightLabels(
|
|||
result.erase(
|
||||
ranges::remove(
|
||||
result,
|
||||
Flag::ManageTopics,
|
||||
Flag::ManageTopics | Flag(),
|
||||
&AdminRightLabel::flags),
|
||||
end(result));
|
||||
}
|
||||
|
|
|
@ -355,6 +355,11 @@ protected:
|
|||
int resizeGetHeight(int newWidth) override;
|
||||
|
||||
private:
|
||||
using ScrollTopState = ListMemento::ScrollTopState;
|
||||
using PointState = HistoryView::PointState;
|
||||
using CursorState = HistoryView::CursorState;
|
||||
using ChosenReaction = HistoryView::Reactions::ChosenReaction;
|
||||
|
||||
struct MouseState {
|
||||
MouseState();
|
||||
MouseState(
|
||||
|
@ -405,10 +410,6 @@ private:
|
|||
Selecting,
|
||||
Deselecting,
|
||||
};
|
||||
using ScrollTopState = ListMemento::ScrollTopState;
|
||||
using PointState = HistoryView::PointState;
|
||||
using CursorState = HistoryView::CursorState;
|
||||
using ChosenReaction = HistoryView::Reactions::ChosenReaction;
|
||||
|
||||
void onTouchSelect();
|
||||
void onTouchScrollTimer();
|
||||
|
|
Loading…
Add table
Reference in a new issue