mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-25 09:56:05 +00:00
Allowing creation of StorageDevicePartition objects for any arbitrary BlockDevice objects means that we could technically create a StorageDevicePartition for another StorageDevicePartition which is obviously not the intention for this code. Instead, require to pass a StorageDevice reference to ensure this cannot happen.
1.5 KiB
1.5 KiB