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:
Andreas Kling 2023-02-19 23:36:30 +01:00
commit 456f12c5c8
Notes: sideshowbarker 2024-07-17 00:25:35 +09:00
8 changed files with 20 additions and 20 deletions

View file

@ -29,7 +29,7 @@ public:
protected:
#ifdef KERNEL
explicit PartitionTable(Kernel::StorageDevice const&);
explicit PartitionTable(Kernel::StorageDevice&);
NonnullRefPtr<Kernel::StorageDevice> m_device;
#else
explicit PartitionTable(NonnullRefPtr<Core::DeprecatedFile>);