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
commit d071ce352c
Notes: sideshowbarker 2024-07-18 05:21:56 +09:00

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 {