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

Add final specifiers in implementation files

This commit is contained in:
Tom Poole 2023-10-06 13:08:34 +01:00
parent aee5a3a45e
commit 6bf9bb9a2e
315 changed files with 1031 additions and 1025 deletions

View file

@ -26,8 +26,8 @@
namespace juce
{
struct Spinner : public Component,
private Timer
struct Spinner final : public Component,
private Timer
{
Spinner() { startTimer (1000 / 50); }
void timerCallback() override { repaint(); }
@ -38,10 +38,10 @@ struct Spinner : public Component,
}
};
struct OnlineUnlockForm::OverlayComp : public Component,
private Thread,
private Timer,
private Button::Listener
struct OnlineUnlockForm::OverlayComp final : public Component,
private Thread,
private Timer,
private Button::Listener
{
OverlayComp (OnlineUnlockForm& f, bool hasCancelButton = false)
: Thread (String()), form (f)

View file

@ -632,7 +632,7 @@ private:
[&] (const auto& pending) { return pending->request.get() == request; });
}
struct Class : public ObjCClass<NSObject<SKProductsRequestDelegate, SKPaymentTransactionObserver>>
struct Class final : public ObjCClass<NSObject<SKProductsRequestDelegate, SKPaymentTransactionObserver>>
{
//==============================================================================
Class()