1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Warnings: Add missing overrides

This commit is contained in:
reuk 2024-01-24 12:00:28 +00:00
parent 6c32c4df87
commit 047448fbce
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
84 changed files with 630 additions and 627 deletions

View file

@ -690,7 +690,7 @@ struct MenuPage final : public Component
{
void drawPopupMenuColumnSeparatorWithOptions (Graphics& g,
const Rectangle<int>& bounds,
const PopupMenu::Options& opt)
const PopupMenu::Options& opt) override
{
if (auto* target = opt.getTargetComponent())
{
@ -708,7 +708,7 @@ struct MenuPage final : public Component
}
}
void drawPopupMenuBackgroundWithOptions (Graphics& g, int, int, const PopupMenu::Options& opt)
void drawPopupMenuBackgroundWithOptions (Graphics& g, int, int, const PopupMenu::Options& opt) override
{
if (auto* target = opt.getTargetComponent())
{
@ -717,7 +717,7 @@ struct MenuPage final : public Component
}
// Return the amount of space that should be left between popup menu columns.
int getPopupMenuColumnSeparatorWidthWithOptions (const PopupMenu::Options&)
int getPopupMenuColumnSeparatorWidthWithOptions (const PopupMenu::Options&) override
{
return 10;
}