Add final to classes introduced in f9114a87f2

A class which can not be derived from should tell that in the
declaration.
This commit is contained in:
phosit
2024-08-25 12:38:09 +02:00
parent 62c0080e1b
commit f22d0d899e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ bool JobQueue::empty() const
js::UniquePtr<JS::JobQueue::SavedJobQueue> JobQueue::saveJobQueue(JSContext*)
{
class SavedJobQueue : public JS::JobQueue::SavedJobQueue
class SavedJobQueue final : public JS::JobQueue::SavedJobQueue
{
public:
SavedJobQueue(QueueType& queue) :