Fixed build with GCC 13.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
parent
6b6afd38ac
commit
b48dee0af7
|
@ -79,7 +79,7 @@ struct NestedRestrictionLabels {
|
||||||
second.erase(
|
second.erase(
|
||||||
ranges::remove(
|
ranges::remove(
|
||||||
second,
|
second,
|
||||||
Flag::CreateTopics,
|
Flag::CreateTopics | Flag(),
|
||||||
&RestrictionLabel::flags),
|
&RestrictionLabel::flags),
|
||||||
end(second));
|
end(second));
|
||||||
}
|
}
|
||||||
|
@ -1002,7 +1002,7 @@ std::vector<AdminRightLabel> AdminRightLabels(
|
||||||
result.erase(
|
result.erase(
|
||||||
ranges::remove(
|
ranges::remove(
|
||||||
result,
|
result,
|
||||||
Flag::ManageTopics,
|
Flag::ManageTopics | Flag(),
|
||||||
&AdminRightLabel::flags),
|
&AdminRightLabel::flags),
|
||||||
end(result));
|
end(result));
|
||||||
}
|
}
|
||||||
|
|
|
@ -355,6 +355,11 @@ protected:
|
||||||
int resizeGetHeight(int newWidth) override;
|
int resizeGetHeight(int newWidth) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
using ScrollTopState = ListMemento::ScrollTopState;
|
||||||
|
using PointState = HistoryView::PointState;
|
||||||
|
using CursorState = HistoryView::CursorState;
|
||||||
|
using ChosenReaction = HistoryView::Reactions::ChosenReaction;
|
||||||
|
|
||||||
struct MouseState {
|
struct MouseState {
|
||||||
MouseState();
|
MouseState();
|
||||||
MouseState(
|
MouseState(
|
||||||
|
@ -405,10 +410,6 @@ private:
|
||||||
Selecting,
|
Selecting,
|
||||||
Deselecting,
|
Deselecting,
|
||||||
};
|
};
|
||||||
using ScrollTopState = ListMemento::ScrollTopState;
|
|
||||||
using PointState = HistoryView::PointState;
|
|
||||||
using CursorState = HistoryView::CursorState;
|
|
||||||
using ChosenReaction = HistoryView::Reactions::ChosenReaction;
|
|
||||||
|
|
||||||
void onTouchSelect();
|
void onTouchSelect();
|
||||||
void onTouchScrollTimer();
|
void onTouchScrollTimer();
|
||||||
|
|
Loading…
Reference in New Issue