Use override instead of virtual

This commit is contained in:
Alexander Grund 2026-07-05 12:23:22 +02:00
parent cb9e7e226b
commit 1c168d57fb
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
8 changed files with 36 additions and 36 deletions

View file

@ -392,7 +392,7 @@ private:
};
class my_implementation : public my_interface
{
virtual void my_method() {}
virtual void my_method() override {}
};
} // namespace
@ -591,7 +591,7 @@ struct base
};
struct derived : base
{
virtual void f() {}
virtual void f() override {}
};
} // namespace