refactor: Use override instead of virtual where possible (#4917)

This commit is contained in:
pajlada
2023-10-25 18:13:48 +02:00
committed by GitHub
parent da31e47f9a
commit 5c0219c245
54 changed files with 193 additions and 203 deletions
+2 -2
View File
@@ -17,11 +17,11 @@ class LambdaRunnable : public QRunnable
{
public:
LambdaRunnable(std::function<void()> action)
: action_(std::move(action))
{
this->action_ = std::move(action);
}
void run()
void run() override
{
this->action_();
}