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

@ -77,9 +77,9 @@ constexpr int threeWayCompare (const std::tuple<Ts...>& a, const std::tuple<Ts..
}
//==============================================================================
class FileListTreeItem : public TreeViewItem,
private TimeSliceClient,
private AsyncUpdater
class FileListTreeItem final : public TreeViewItem,
private TimeSliceClient,
private AsyncUpdater
{
public:
FileListTreeItem (FileTreeComponent& treeComp,
@ -210,7 +210,7 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileListTreeItem)
};
class DirectoryScanner : private ChangeListener
class DirectoryScanner final : private ChangeListener
{
public:
struct Listener
@ -355,7 +355,7 @@ private:
SystemStats::OperatingSystemType systemType;
};
class FileTreeComponent::Controller : private DirectoryScanner::Listener
class FileTreeComponent::Controller final : private DirectoryScanner::Listener
{
public:
explicit Controller (FileTreeComponent& ownerIn)
@ -609,7 +609,7 @@ void FileTreeComponent::setItemHeight (int newHeight)
#if JUCE_UNIT_TESTS
class FileTreeComponentTests : public UnitTest
class FileTreeComponentTests final : public UnitTest
{
public:
//==============================================================================