1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +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

@ -23,7 +23,7 @@
namespace juce
{
struct InterprocessConnection::ConnectionThread : public Thread
struct InterprocessConnection::ConnectionThread final : public Thread
{
ConnectionThread (InterprocessConnection& c) : Thread ("JUCE IPC"), owner (c) {}
void run() override { owner.runThread(); }
@ -65,7 +65,7 @@ private:
bool safe = false;
};
class InterprocessConnection::SafeAction : public SafeActionImpl
class InterprocessConnection::SafeAction final : public SafeActionImpl
{
using SafeActionImpl::SafeActionImpl;
};
@ -246,7 +246,7 @@ void InterprocessConnection::initialiseWithPipe (std::unique_ptr<NamedPipe> newP
}
//==============================================================================
struct ConnectionStateMessage : public MessageManager::MessageBase
struct ConnectionStateMessage final : public MessageManager::MessageBase
{
ConnectionStateMessage (std::shared_ptr<SafeActionImpl> ipc, bool connected) noexcept
: safeAction (ipc), connectionMade (connected)
@ -295,7 +295,7 @@ void InterprocessConnection::connectionLostInt()
}
}
struct DataDeliveryMessage : public Message
struct DataDeliveryMessage final : public Message
{
DataDeliveryMessage (std::shared_ptr<SafeActionImpl> ipc, const MemoryBlock& d)
: safeAction (ipc), data (d)