mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
Kernel: Declare BlockDevice::is_block_device method protected
This commit is contained in:
parent
cdab213750
commit
9b49d9ee60
Notes:
sideshowbarker
2024-07-17 08:55:57 +09:00
Author: https://github.com/supercomputer7
Commit: 9b49d9ee60
Pull-request: https://github.com/SerenityOS/serenity/pull/13779
1 changed files with 2 additions and 1 deletions
|
@ -38,9 +38,10 @@ protected:
|
|||
m_block_size_log = AK::log2(m_block_size);
|
||||
}
|
||||
|
||||
private:
|
||||
protected:
|
||||
virtual bool is_block_device() const final { return true; }
|
||||
|
||||
private:
|
||||
size_t m_block_size { 0 };
|
||||
u8 m_block_size_log { 0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue