mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 19:12:56 +00:00
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:
@@ -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) :
|
||||
|
||||
Reference in New Issue
Block a user