1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:47:35 +00:00

Kernel/VirtIO: Make VirtIODevice constructor protected

This should be accessible only by derived classes.
This commit is contained in:
Liav A 2021-08-20 21:51:25 +03:00 committed by Andreas Kling
parent 4f186a9a1f
commit d071ce352c

View file

@ -86,10 +86,10 @@ public:
class VirtIODevice : public PCI::Device {
public:
VirtIODevice(PCI::Address, String);
virtual ~VirtIODevice() override;
protected:
VirtIODevice(PCI::Address, String);
const String m_class_name;
struct MappedMMIO {