1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

Kernel: Use = default for empty destructors

This commit is contained in:
Brian Gianforcaro 2021-09-01 02:05:11 -07:00 committed by Andreas Kling
parent e15be89e18
commit c0341215de
4 changed files with 2 additions and 10 deletions

View file

@ -21,7 +21,7 @@ class RNG final
public:
static NonnullRefPtr<RNG> must_create(PCI::Address address);
virtual StringView purpose() const override { return class_name(); }
virtual ~RNG() override;
virtual ~RNG() override = default;
private:
virtual StringView class_name() const override { return "VirtIOConsole"; }