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
@@ -35,7 +35,7 @@ namespace Script
void UnhandledRejectedPromise(JSContext* cx, bool, JS::HandleObject promise,
JS::PromiseRejectionHandlingState state, void*);
class JobQueue : public JS::JobQueue
class JobQueue final : public JS::JobQueue
{
public:
~JobQueue() final = default;