Kernel: Declare BlockDevice::is_block_device method protected

This commit is contained in:
Liav A 2022-04-23 11:09:41 +03:00 committed by Andreas Kling
parent cdab213750
commit 9b49d9ee60
Notes: sideshowbarker 2024-07-17 08:55:57 +09:00

View File

@ -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 };
};