os: Add missing override keyword.

The _device_specific_features() implements part of the Virtio_device
interface. Decorate it with override keyword to make this clear and
also satisfy clang which produces warning regarding this.

Issue #3984
This commit is contained in:
Piotr Tworek 2020-11-16 00:43:22 +01:00 committed by Norman Feske
parent 3fdf323e6e
commit 052f678225

View File

@ -62,7 +62,7 @@ class Vmm::Virtio_console : public Virtio_device
_assert_irq();
}
Register _device_specific_features() { return 0; }
Register _device_specific_features() override { return 0; }
public: