mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibPartition: Make Kernel parts const-correct re: StorageDevice&
We can't do I/O with a const StorageDevice&, so it has to be non-const.
This commit is contained in:
parent
c837e7bbf3
commit
456f12c5c8
8 changed files with 20 additions and 20 deletions
|
@ -14,7 +14,7 @@
|
|||
namespace Partition {
|
||||
|
||||
#ifdef KERNEL
|
||||
PartitionTable::PartitionTable(Kernel::StorageDevice const& device)
|
||||
PartitionTable::PartitionTable(Kernel::StorageDevice& device)
|
||||
: m_device(device)
|
||||
, m_block_size(device.block_size())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue