mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
Kernel/VirtIO: Make VirtIODevice constructor protected
This should be accessible only by derived classes.
This commit is contained in:
parent
4f186a9a1f
commit
d071ce352c
Notes:
sideshowbarker
2024-07-18 05:21:56 +09:00
Author: https://github.com/supercomputer7
Commit: d071ce352c
Pull-request: https://github.com/SerenityOS/serenity/pull/9539
1 changed files with 1 additions and 1 deletions
|
@ -86,10 +86,10 @@ public:
|
||||||
|
|
||||||
class VirtIODevice : public PCI::Device {
|
class VirtIODevice : public PCI::Device {
|
||||||
public:
|
public:
|
||||||
VirtIODevice(PCI::Address, String);
|
|
||||||
virtual ~VirtIODevice() override;
|
virtual ~VirtIODevice() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
VirtIODevice(PCI::Address, String);
|
||||||
const String m_class_name;
|
const String m_class_name;
|
||||||
|
|
||||||
struct MappedMMIO {
|
struct MappedMMIO {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue